How to run a class in html and javascript?
MatthewX (144)

How do I run <div class = ""></div> when a button is pressed?

You are viewing a single comment. View All
Answered by Coder100 (8646) [earned 5 cycles]
View Answer
SixBeeps (3047)

Classes in HTML are different than classes in any other language. Here, they are used for grouping together common elements or groups of elements so that they can be styled or identified in bulk.