Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Recipe page using flexbox

P
mrcordova 1,120

@mrcordova

Desktop design screenshot for the Recipe page coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

Figuring out how to use flexbox as a table, and I think my html was decently semantic.

What challenges did you encounter, and how did you overcome them?

I had a tough time using table element but I ended up changing it to a flexbox instead since it was more responsive.

What specific areas of your project would you like help with?

General feedback is welcomed, and advice on how to make my html more semantic if possible.

Community feedback

@AlyaaRushdy

Posted

try this if you're still interested in making the nutrition part a table

.section__table { width: 100%; border-collapse: collapse; } .section__table__tr td { width: 50%; height: 2.5rem; text-align: left; text-indent: 1.5rem; } .section__table__tr:not(:last-child) { border-bottom: 1px solid var(--Light-Grey); }

Marked as helpful

1

P
mrcordova 1,120

@mrcordova

Posted

@AlyaaRushdy Thanks for you information.

1

@AlyaaRushdy

Posted

@mrcordova You're most welcome

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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