Read here. Code on desktop. The coding workspace opens on screens 1024px and wider.
User interface challenge
Wordle
hard45 min
Build a five-letter word game with six attempts, duplicate-letter scoring, an on-screen keyboard, and restart.
Requirements
Use the supplied local dictionary and fixed answer APPLE. No network requests are needed. Layout and styles are supplied.
Accept five alphabetic letters through the controlled input or on-screen keyboard. Normalize guesses to uppercase.
Submit only words in the dictionary. Invalid length or unknown words display an error and do not consume an attempt.
Allow six guesses. Mark correct-position letters correct, other available answer letters present, and remaining letters absent.
Handle repeated letters using each occurrence in the answer at most once, reserving exact matches first.
Update keyboard feedback without downgrading an existing correct or present letter.
Show a win after a correct guess or reveal APPLE after six wrong guesses. Lock entry after either outcome. Restart resets guesses, input, keyboard feedback, and errors.