Would like to know why this codepen pen isnt rendering

Three JS (codepen.io)

Any ideas to why this isnt rendering? Im using an external cdn to render three js.
Since I dont use codepen much I think im missing something somewhere .
The same thing works fine on Vs code though.

You are supposed to set html,body and scene-containers heights to 100% too, or the height of canvas would be zero.