Trying to move a github project into codepen. It looks like my JS isn't loading

Trying to move a github project into codepen. It looks like my JS isn't loading
0

#1

Hi everyone. I’m trying to put some work I’ve already done on github on my codepen account. I did this drum kit project for Wes Bos’ JS30 course. I copied and pasted everything I had on my github, put the head stuff into the head section of the html window, and changed my audio links to be linked to online resources. Any ideas why it’s not working? Thanks.


#2

Open up a console window and you’ll see an error “Uncaught ReferenceError: a is not defined”.

This stray letter a is throwing an error and preventing the js from working.


#3

Thanks for taking the time to reply! That fixed it. :slight_smile: