Typing game with Javascript

YvonneDev
4 min readDec 26, 2020

course from Brad Traversy

Github code

Features:

localStorage get and set

setting difficulty selects

matching words

score add when correct

time reduces and the time add if typing correctly(time depends on difficulty level)

HTML

button controls the setting section at the top

the setting is a form with three selections

the word data will be shown in the h1 tag

the text input compare to the word when the user types

time on the left, score on the right

and when the game end, the message shows up with the score and a reset button

CSS

--

--

YvonneDev

❤️Front-end Web Development self-taught *share what I learned*