Design comparison
SolutionDesign
Solution retrospective
What challenges did you encounter, and how did you overcome them?
had issues with the last section, the size of nutrients aren't properly aligned as they are on the design. please if you can help with the solution, i'd appreciate it so much
Community feedback
- @RaulTindoganPosted 8 months ago
Hello!
- You can remove this background-color: hsl(30, 54%, 90%); to the <main> and put it to body, since <body) is the background and <main> acts as a container of other elements. Also add min-height: 100vh to the body.
-
body {background-color: hsl(30, 54%, 90%); min-height: 100vh;}
- For the Nutrition Table you can use <table instead of **<div>
You can read about <table> here: https://www.w3schools.com/html/html_tables.asp
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