DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
query selector
const myHeading = document.querySelector('h1'); myHeading.textContent = 'Hello world!';
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#query
#selector
ADD COMMENT
Topic
COMMENT
Name
2+9 =
Submit