Lesson: jQuery
Remove an Element Using jQuery
Now let's remove an HTML element from your page using jQuery.
jQuery has a function called .remove()
that will remove an HTML element entirely
Remove element target4
from the page by using the .remove()
function.
The content on this page is licensed under Attribution-ShareAlike 4.0 International. Original authors: freeCodeCamp, the content was modified.