@DylandeBruijn
Posted
Hiya @thedanielking,
Good job on this solution, it looks great!
I'm happy to give you some friendly constructive feedback:
-
To give the container some spacing I would add some top and bottom
padding
to thebody
element. Or update yourmargin
on the container like somargin: 4rem auto;
-
I suggest removing
width: 100%
,display: grid
andplace-content: center
from the container. The container is already ablock
element so it takes up the full width. And because the container doesn't have any extra width or height the children don't get centered at the moment. -
You could try recreating your nutrition table using the
table
,th
andtd
elements.
I hope you find my feedback helpful, as always I would appreciate it if you could mark my comment as helpful when it was!
Let me know if you have more questions and I'll try to answer them.
Marked as helpful
@thedanielking
Posted
hi@DylandeBruijn thanks for the feedback I had a problem using the "table", "th" and "td" attributes. I will try the fix. Thanks so much.
@thedanielking
Posted
hi@DylandeBruijn thanks for the feedback I had a problem using the "table", "th" and "td" attributes. I will try the fix. Thanks so much.