Design comparison
Solution retrospective
EDIT: Added margin to card component in addition to changes below.
This is an updated solution. I have made changes to the html code to include semantic html tags for <main> and <footer>. I added alt text for my img tag. I changed font sizes from the px format to responsive rem. I added :root pseudo class to determine color and typography styles. I made several layout adjustments. Finally, I added drop shadow to the card.
Community feedback
- @NehalSahu8055Posted over 1 year ago
Hello Coder 👋.
Congratulations on successfully completing the challenge! 🎉
Few suggestions regarding design.
- Remove the
commented line
below from thebody
as it makes no sense to us it.
/* width: 1440px; */ /* margin: auto;*/
-
Replace
height:100vh
withmin-height:100vh
to properly center the card. -
For
non-decorative images
give meaningful and descriptive alt likealt= "QR code to Frontend Mentor website"
. -
Use
Semantics
for the proper design of your code.
<body> <header> <nav>...</nav> </header> <main>...</main> <footer>...</footer> </body>
- Use
responsive units(rem, em, %)
from next project. Explore respective use cases on google.
link.
I hope you find this helpful.
Happy coding😄
Marked as helpful0@jasnoludekPosted over 1 year agoThank you for your feedback! I'm going to work on this now. @NehalSahu8055
1 - Remove the
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