From 7d4d94cf1ccc8ff8a9609cbc0e27fc64c207add9 Mon Sep 17 00:00:00 2001 From: Sander Hautvast Date: Wed, 2 Dec 2020 14:00:57 +0100 Subject: [PATCH] latest last commit --- index.html | 3 +-- sky.css | 4 ---- sky.js | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 sky.css 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 = () => {