Hello,
First off, I want to commend you on your first solution! It's a great start, and you should feel proud of your progress.
While reviewing your code, I noticed a couple of areas where we can improve the handling of element dimensions, particularly regarding the image's height and width.
One issue I observed is the hardcoded dimensions set for the image. A good practice to follow is to utilize a simple image reset technique, such as setting width: 100%; and display: block;, ensuring that images always scale appropriately to fit their container.
Additionally, you've specified a height for the container element, which is redundant since it's already a grid item inheriting dimensions from its parent element. Given that you've declared display: grid; at the body level, the grid row and grid column values (in this case, 1fr x 1fr) already determine the height and width respectively.
Finally, it's worth mentioning that it's beneficial to review the style-guide.md file, where styles such as colors are defined. This ensures consistency and clarity throughout the project.
By addressing these issues and referring to the style-guide.md for style definitions, we can ensure a more flexible and maintainable layout. Keep up the good work, and feel free to reach out if you have any questions or need further assistance.
Best regards, Patrycja
Marked as helpful