From e1365a8c6ab2a101e171ba5a6bcb3a8c2f94b2d3 Mon Sep 17 00:00:00 2001 From: polsevev Date: Mon, 13 Jan 2020 20:44:24 +0100 Subject: [PATCH] =?UTF-8?q?lagde=20tegning=20+=20jobber=20p=C3=A5=20ordfun?= =?UTF-8?q?ksjonalitet=20i=20JS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 10 +++++-- script.js | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 91 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index b2ffcf6..68bea1c 100644 --- a/index.html +++ b/index.html @@ -15,8 +15,14 @@

Hangman 2020 av Rolf Martin Glomsrud

- - + +
+ + +
+

Feil:

+

+ diff --git a/script.js b/script.js index f3fdffc..fd99065 100644 --- a/script.js +++ b/script.js @@ -1,10 +1,91 @@ +var screenWidth = screen.width; +var screenHeight = screen.height; +partsTracker = 0 + +var word = "babaganoush"; +var arrayWord = word.split(""); + + +for(i = 0; i