Guess the Secret Word
The secret word has 5 letters. Type a 5-letter word and click Check Word.
?
?
?
?
?
Enter a 5-letter word.
Guess History
JavaScript adds one table row each time you click Check Word.
| Try | Guess | Result |
|---|
Letter Feedback
| Color | Meaning |
|---|---|
| Green | Correct letter in the correct position |
| Yellow | Letter is in the word, but in a different position |
| Gray | Letter is not in the word |
Student Challenges
- Add more words to the
wordsarray inwordgame.js. - Change the colors in
wordgame.css. - Change the game to use 4-letter or 6-letter words.
- Add a counter that stops the game after 6 tries.