Create a chess board using HTML, CSS and Vanilla Javascript, where if you click on any of the block it should highlight its diagonals.
Time Duration: 90 minutes
- No need to focus on responsiveness.
- No use of any library or framework.
- Code should be well structured with optimised solution.
Default state
On Click
Chess Board: It is a square form board in which there are equal rows and columns (8x8) with alternate intersections marked as black background.
All the best :)