# Would like to know why this codepen pen isnt rendering

**URL:** <https://discourse.threejs.org/t/would-like-to-know-why-this-codepen-pen-isnt-rendering/34707>\
**Category:** Questions\
**Tags:** getting-started\
**Created:** [February 10, 2022, 5:06am UTC](https://discourse.threejs.org/t/would-like-to-know-why-this-codepen-pen-isnt-rendering/34707 "2022-02-10T05:06:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ucd](https://avatars.discourse-cdn.com/v4/letter/u/97f17d/32.png) [@ucd](https://discourse.threejs.org/u/ucd)\
**Post date:** [February 10, 2022, 5:06am UTC](https://discourse.threejs.org/t/would-like-to-know-why-this-codepen-pen-isnt-rendering/34707/1 "2022-02-10T05:06:16Z")

</div>

[Three JS (codepen.io)](https://codepen.io/exotic_dev/pen/podPgNd)

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.

---

<div class="post-metadata">

**Author:** ![Insopitus](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/insopitus/32/12464_2.png) [@Insopitus](https://discourse.threejs.org/u/Insopitus)\
**Post date:** [February 10, 2022, 5:56am UTC](https://discourse.threejs.org/t/would-like-to-know-why-this-codepen-pen-isnt-rendering/34707/2 "2022-02-10T05:56:37Z")

</div>

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