Cant connect button to .js file

https://strengthened-chief-mayflower.glitch.me/
I would appreciate some help in this, I haven’t referenced the .js file in the html page but instead I’ve added “event listeners” in the .js file for the button

You will need to include the file to use it.

1 Like

For these event listeners to work, you still need to refrence the file using the src attribute of the <script> tag

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.