How to render 3D in 2D canvas

To get started, we need to add a canvas element in our HTML. We also need to add an id so it will be easier to select it from JavaScript. That's all we need in the HTML! For the CSS, we need to remove the default margins on the body and prevent scrollbars from appearing by using 'overflow: hidden;'.