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.

renderer.setSize(container.clientWidth, container.clientHeight);

container.clientHeight is 0

1 Like