How do I run <div class = ""></div> when a button is pressed?
Hi! Classes are not the same as
ids. They can be assigned to multiple elements so they can be identified as a group.
Anyways, to get all elements:
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.