1.

What is the code snippet to find all container elements with class “reveal”?

A. ar elements = document.getElementsByClassName("reveal");
B. ar elements = document.getElementByClassName("reveal");
C. ar elements = document.getElementByName("reveal");
D. ar elements = document.getElementsClassName("reveal");
Answer» B. ar elements = document.getElementByClassName("reveal");


Discussion

No Comment Found