Examveda
Examveda

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";

Answer: Option A

Solution(By Examveda Team)

The above code snippet changes the class and lets the stylesheet specify the details.

Join The Discussion

Related Questions on Server Side and Client Side Scripting