One more negative experience with C3 ... a simple script does not show in the preview.
It's impossible to comment or help unless you provide more information.
Develop games in your browser. Powerful, performant & highly capable.
C2 working perfectly... but in C3...
You should host your script on HTTPS. That should work around the problem and is a requirement for any modern web content.