Assignment
As a newly hired frontend developer, you’ve been hired to maintain a memory game.
The game looks something like the below image:
Figure 7.7: Grids in a memory game
Your company wants you to do the following:
- Ensure it renders as a 5x5 grid on desktop. For larger viewports, it doesn’t work well, but you should address that problem.
- Support mobile devices, meaning that it should render as a 5x5 grid but with half as big tiles.
- While fixing it for mobile devices, ensure the score in the top-right corner is moved to the middle and is centered.
As a developer, it’s now your job to adjust the code of this game using GitHub Copilot, using either inline editing of open text files or the Chat function in Copilot to ensure the code works well for different devices.