I can't run the game on my PC!
I downloaded the files on my PC but the game doesn't work. When I open the index.html on the browser, I got green background only.
Could you please help me fix this?
Jennifer NordellTreehouse Staff
Hi there! I'm going to make an educated guess here. I believe you are trying to run this from files you downloaded to your local system instead of from workspaces. I also believe you might be using the Chrome browser. If this is the case, there are certain properties of this particular browser that will prevent you from running this without disabling some security properties in the browser itself. These are advanced topics that you will deal with later, but in the meantime I highly suggest you either run the code from the workspaces or you try another browser such as Firefox.
To be clear, the files you make on workspaces when doing this course will still be run on your computer and in your browser, but there's a "cross-origin" policy in place by default which is preventing it from running as intended. Again, this is an advanced concept you'll likely cover later.
Let me know how it goes!
Thank you for your interest.