Skip to content
Coder
Newbie
Learn Coding
Practice
Projects
Tools
Resources
⌘K
EN
Home
Quizzes
JavaScript DOM Manipulation
JavaScript DOM Manipulation
DOM manipulation and event handling
intermediate
Question 1 of 7
Question 1 of 7
javascript
What is the method to get an element by id?
A
document.getElementById('id')
B
document.getById('id')
C
document.querySelector('#id') only for class
D
document.find('id')
All quizzes
Next