Skip to content

Commit 325fa13

Browse files
committed
second commit
1 parent 5c86d72 commit 325fa13

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

js/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
window.addEventListener('load',init);
1+
window.addEventListener('load',init);
22

33
// global variables
44

55

66
// availabe levels
7-
const levels={
7+
const levels={ // array of level for future improvement in porject
88
easy :32,
99
medium : 20,
1010
hard : 15
@@ -15,7 +15,7 @@ const currentlevel = levels.easy;
1515

1616
let time=32;
1717
let score=0;
18-
let isPlaying;
18+
let isPlaying; // bool variable for checking whether player is playing
1919

2020
// dom elements
2121
const wordInput= document.querySelector('#word-input');

0 commit comments

Comments
 (0)