Even though my is after my , I’m getting a “TypeError: Cannot read properties of null (reading ‘style’)” error
I have the following code, where the is placed after my that it refers to in the HTML file (both inside of ), but the browser is still giving the attached error.