Design comparison
SolutionDesign
Community feedback
- @lynaIFRPosted 3 months ago
Nice job, here are things to improve:
- never use
px
forfont-size
, userem
instead - don't give specific values to
margin
andpadding
, learn aboutflex
andgrid
layouts, they are more efficient - the
border-radius
should be set for the container, add to itoverflow: hidden;
to see the magic - the first
<section>
tag should be replaced with a<main>
tag, remember, every web page needs a main landmark - learn about
<picture>
it allows you to switch images for different screen sizes so your website can be responsive - you may want to use a media query to make the mobile design like provided in the challenge Hope this helps, good luck
0 - never use
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