Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

queryselector in javascript

// Go to html and find out what type of HTML element you want to select. 
// Is it div, p, h3 or something else? 
// When you know, select it with
document.querySelector();
// querySelector() accepts the name of the element as argument
Source by openclassrooms.com #
 
PREVIOUS NEXT
Tagged: #queryselector #javascript
ADD COMMENT
Topic
Name
5+3 =