Game works in browser but not Codepen?

Game works in browser but not Codepen?
0.0 0

#1

Hey guys, just a quick question here. I usually write in VS Code now and have run this game flawlessly in the browser. I transferred it into codepen just to save it there and the “Easy” button doesn’t work for some reason. Everything else is fine. What’s the deal? Thanks!


#2

Seems to work for me when I open the pen.

Code pen sometimes blocks certain things, but the code may work, when you go to a different view.

However it worked fine in code view

You do have a link to a js file in the bottom of the html, but it’s only a local link…code pen may need a full address.


#3

Ahh…good call there.