WeCodeAcademy

jQuery Add and Remove Elements

Examplehtml
Open in editor »

append and prepend add inside an element (at the end or start); before and after add next to it. remove deletes an element and empty clears its contents.

Quick check

Which method adds content at the START inside an element?

Finish the quick check (and any code exercise) to complete this lesson, or mark it done yourself.

Tip: use the left and right arrow keys to move between lessons.