Design comparison
SolutionDesign
Community feedback
- @mkborisPosted 2 months ago
Nice work @seadadevo, here are a few things to review
- All content should be wrapped within landmarks. Wrap a
main
tag around the .container and afooter
for the attribution. - To handle responsive images effectively you can use the
picture
element. This allows you to specify different images for various screen sizes and resolutions. Using CSS to hide and show images to display differently on various screen sizes is not part of the best practices. - It's best practice linking Google fonts directly in the HTML
head
section rather than directly in your CSS file as it enables asynchronous downloading, improving page load times. Consider using a modern CSS reset at the start of the styles in every project. Like this one Modern CSS Reset. This will help reset a list of default browser styles. - Media queries should be defined in rem not
px
- Font-size should be written in
rem
not px. This article explains it better Why font-size must NEVER be in pixels.
Marked as helpful1 - All content should be wrapped within landmarks. Wrap a
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord