Design comparison
Solution retrospective
I find very difficult to properly align the description of order summary(which is mentioned in p tag inside the div class="content" ) and i couldn't do it as per the design. Kindly suggest some ideas to improve my coding skills.
Community feedback
- @NehalSahu8055Posted over 1 year ago
Hello Coder 👋.
Congratulations on successfully completing the challenge! 🎉
Few suggestions regarding design.
As for now, don't worry too much on this.
Possible Reasons:
- Font-size.
- Size of your card.
- Padding within card.
➨ Replace
height
withmin-height
inbody
to properly center the card.body{ min-height: 100vh; }
➨ Use
Semantics
for the proper design of your code.<body> <header> <nav>...</nav> </header> <main>...</main> <footer>...</footer> </body>
➨ For an image like .svg are decorative which screen reader will not render it to be important and skip it, so it makes no sense to add alt leave it blank.
I hope you find this helpful.
Happy coding😄
0
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