From 9dbd5bd3635dd770b61034ec23fc4d899dedf408 Mon Sep 17 00:00:00 2001 From: Galin Simeonov Date: Wed, 20 Oct 2021 11:53:48 +0300 Subject: onload in body html element is removed so there is no inline js --- snek.html | 4 ++-- snek.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/snek.html b/snek.html index 70b2504..072079c 100644 --- a/snek.html +++ b/snek.html @@ -4,11 +4,10 @@ ANGRY SNEK - - + + diff --git a/snek.js b/snek.js index df66c18..6afe00e 100644 --- a/snek.js +++ b/snek.js @@ -471,3 +471,4 @@ function checkScore() alert("You are winner!"); } } +main(); -- cgit v1.2.3