Question
Which JavaScript method is commonly used to select an element by ID?
Select an option. Your answer will be checked instantly.
Correct Answer: A. document.getElementById()
Explanation:
The correct answer is document.getElementById().
Leave a Reply