Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

The removeChild() Method

const groceryList = document.getElementById('groceryList');
const iceCream = document.getElementById('iceCream');
 
groceryList.removeChild(iceCream);
Source by www.codecademy.com #
 
PREVIOUS NEXT
Tagged: #The #Method
ADD COMMENT
Topic
Name
6+2 =