You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to remove elements from the list on a button click. But when I click the button, the last item not deleted. I have to click button 2 times to remove all items.
Can any help? So all items can be removed in a single click. (What's wrong in my code).
I am trying to remove elements from the list on a button click. But when I click the button, the last item not deleted. I have to click button 2 times to remove all items.
Can any help? So all items can be removed in a single click. (What's wrong in my code).
https://codepen.io/nasir-mehmood/pen/YbJGog
The text was updated successfully, but these errors were encountered: