(JavaScript) How to Change an HTML Image Source when a Variable Reaches a Certain Value
I’m currently working on a project in which, when an image (through the ‘src’ attribute in the HTML) of a character is clicked, text will display random dialogue from an array. This part of the code is complete/functional.