Jump to content

Custom code not showing in all browsers

Recommended Posts

Site URL: https://colinscarlett.com/

I have a code I added into my site that I've borrowed from codepen for a 'space invaders' game. It seems to only work on Chrome and Edge. On Firefox and Safari it just shows up as a black screen. It's particularly weird as the codepen works fine in all browsers so it seems to be an issue with it being in the squarespace site.

I just added in the html, css, and javascript in a code block within the home page. 

This is the original codepen: https://codepen.io/adelciotto/pen/BHuGL


Link to comment
  • Replies 1
  • Views 708
  • Created
  • Last Reply


This topic is now archived and is closed to further replies.

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.