Premium
React Chessboard Click/Highlight (N×N Board)
Challenge summary
Build an interactive N×N chessboard in React. Clicking a cell should highlight it and clear the previous selection.
What you'll practice
- Render an N×N chessboard where light/dark squares alternate correctly.
- Clicking a square highlights that square.
- Only one square can stay highlighted at a time.
- Expose selected cell coordinates in the UI (row/column).
- Initial render shows an 8×8 board with no selected square.
What Premium unlocks
Premium unlocks the runnable workspace, behavioral checks, implementation walkthrough, and edge-case discussion. It also runs as an Interview Pressure Mode, in rounds that add requirements the way an interviewer does.
Free related practice
Upgrade to FrontendAtlas Premium to unlock this challenge. Already upgraded? Sign in to continue.
Premium is $24 a month or $99 a year, less in many countries.