One more negative experience with C3 ... a simple script does not show in the preview.
Develop games in your browser. Powerful, performant & highly capable.
It's impossible to comment or help unless you provide more information.
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.