om/jsref/met_document_getelementbyid.asp" class="underline">variable</a>. Then, we’ll need to set another variable to the <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext" class="underline">.getContext(’2d’)</a> of that canvas variable so we can draw within it. In addition, we’ll need to write a small resize function so that we can set the canvas’s width and height to the window’s width and height. This way the canvas will take over the whole broswer window.