Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
I was able to plan the project layout in time.
What challenges did you encounter, and how did you overcome them?The small screen
What specific areas of your project would you like help with?Layout planning
Community feedback
- @imxeonPosted 5 months ago
You have achived the design with slightly different code, great work 👏 but here are some minor improvements that you can make from my perspective.
- The design of the card in desktop view is quite broad which does not looks familiar to the reference design quickly fix it.
- You can use section element with an id to name it, to wrap related div elements.
- Use less div elements.
- The fifth div element is using the wrong class name rectify it for acessibility.
- Write the full name for sixth div class - nutrition instead of nutri
- Remove the margin from the main element for the mobile view.
- The body type selector is repeated in the stylesheet twice. Move the property values from the second body type selector to the first one or vice versa.
- Your design is lacking the spacing after the unordered lists and ordered lists, Add the padding-left property to add the space.
.prep-time ul li, .ingredients ul li, .ordered li { margin-top: 0.7rem; color: hsl(30, 10%, 34%); padding-left: 20px; }
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