Created on 12th March 2022
•
It is a game.
For this, I had to use an API which response with a JSON containing only 6 letter dicitonary word.
If any letter of guessed word is present in the solution word, tile becomes yellow. If it is present at the same position as in the solution word, the tile becomes green. If it is not present in the solution word, it becomes grey.
Had to use EventListener for the button click on the virtual keyboard and keydown for the physical keyboard and store the keypress and passing it through the same function
Technologies used