Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

The document.getElementById() Method

// Save a reference to the element with id 'demo':
const demoElement = document.getElementById('demo');
Source by www.codecademy.com #
 
PREVIOUS NEXT
Tagged: #The #Method
ADD COMMENT
Topic
Name
4+8 =