Which method is used to select an element by its ID?
getElementByClass()
getElementById()
querySelectorAll()
getById()
This question is part of this quiz :