Q. 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";
πŸ’¬ Discuss
βœ… Correct Answer: (A) timestamp.className = "highlight";
Explanation: The above code snippet changes the class and lets the stylesheet specify the details.
Explanation by: Mr. Dubey
The above code snippet changes the class and lets the stylesheet specify the details.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
114
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
92%
Success Rate