Q. What is the code snippet to change the class and let the stylesheet specify the details?
β
Correct Answer: (A)
timestamp.className = "highlight";
Explanation: The above code snippet changes the class and lets the stylesheet specify the details.