Rough sketch :
- h2 - Wordle Game
- 5x6 div
- div styling - margin 3px, padding 10px, font -bold...etc
- keyboard below: word matrix
-
Database or API for 5-letter word data
-
Take/Fetch a word from database/API
-
Compare user word ===> master-word.... LETTER-by-LETTER
IF match is true ===> change particular div color to green (word-matrix as well as keyboard)
-
ELSE IF ===> compare single user-word to each master-word one-by-one
if match is true ===> div-color = yellow (word-matrix as well as keyboard)
-
ELSE ===> dark gray (word-matrix as well as keyboard)
- Add favicon
- create 5x6 table dynamically
- provide id to each element
- populate table row with keyboard strokes
0 1 2 3 4 P O W E R H O V E R R E A C T