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