Skip to content
Justice Tech School

Removing Content

remove deletes elements and empty clears children.

Example
$("#old").remove();
$("ul").empty();
$("p").remove(".skip");

Exercise

Clear children.

$("ul").()

Quiz Test

What is the difference of empty and remove?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.