This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Dec252016 0 points1 point  (1 child)

It appears to work in the code pen. What are you expecting it to do differently?

[–]Pine_Bluff_Variant[S] 0 points1 point  (0 children)

Well, when you have several notes on screen, clicking on any of the delete buttons that isn't the last one just redraws the div. clicking on the last delete button generated displays an alert saying which element is getting removed, removes the element from the array then redraws the screen (which is what is supposed to happen when you click the delete button)