diff --git a/index.html b/index.html index bf525d6..0e57372 100644 --- a/index.html +++ b/index.html @@ -3,10 +3,9 @@ sky - - + \ No newline at end of file diff --git a/sky.css b/sky.css deleted file mode 100644 index 6908300..0000000 --- a/sky.css +++ /dev/null @@ -1,4 +0,0 @@ -span { - width: 100%; - height: 100%; -} \ No newline at end of file diff --git a/sky.js b/sky.js index 741e506..2a11410 100644 --- a/sky.js +++ b/sky.js @@ -1,5 +1,5 @@ (function () { - let canvas = document.getElementsByTagName("canvas")[0]; + let canvas = document.getElementById("canvas"); canvas.width = window.innerWidth; canvas.height = window.innerHeight; canvas.onclick = () => {