ListEasy project: removing item - task 4


#1

Continuing the discussion from ListEasy:

In this part of the project we should remove the <p> tag when a .glyphicon-remove is clicked. the <p> tag is the parent of .glyphicon-remove. So we should to remove $(".glyphicon-remove").parent()


here the link of this project
https://s3.amazonaws.com/codecademy-content/projects/2/listeasy/index.html


#2

@diegormb,
In the link they are using

$(document).on("click", '.glyphicon-remove', function() {
                                      $(this).parent().remove(); });

#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.