What is the className property of element objects?
string variable representing the class name
How do you update the CSS class attribute of an element using JavaScript?
.className = ‘new-class-name’
What is the textContent property of element objects?
represents the text content of the node in question
How do you update the text within an element using JavaScript?
.textContent = ‘new text content’
Is the event parameter of an event listener callback always useful?
not always, but its good practice
Would this assignment be simpler or more complicated if we didn’t use a variable to keep track of the number of clicks?
it would be more complicated if we didn’t keep track of the click number