Canvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit.

Canvas

<!DOCTYPE html>
<html lang='kr'>
    <head>
        <title>
            Basic Canvas
        </title>
        <style>
            body{
                margin:0px;
            }
            #canvas{
                background-color: black;
            }
        </style>
    </head>
    <body>
        <canvas id="canvas">
        </canvas>
        <script>
            canvas = document.getElementById("canvas")
            canvas.width = window.innerWidth
            console.log(canvas)
        </script>
    </body>
</html>