Q70
What is the code snippet to change the class and let the stylesheet specify the details?
A.
timestamp.className = "highlight";
AnswerB.
timestamp.className = "change";
C.
timestamp.className = "specify";
D.
timestamp.className = "move";
Answer: Option A
Solution
Answer: Option A
Solution:
The above code snippet changes the class and lets the stylesheet specify the details.