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
https://www.w3schools.com/tags/att_script_src.asp

1 Like