adplus-dvertising
frame-decoration

Question

What is the code snippet to change the class and let the stylesheet specify the details?

a.

timestamp.className = "highlight";

b.

timestamp.className = "change";

c.

timestamp.className = "specify";

d.

timestamp.className = "move";

Posted under JavaScript

Answer: (a).timestamp.className = "highlight";

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the code snippet to change the class and let the stylesheet specify the details?