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 created using HTML, CSS, and Flexbox

Darkpoet 110

@Ojay16

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?

I am most proud of how I used Flexbox to align the contents of my table using the flex: 1; property.

.nutrition-list li {
    flex: 1; 
    text-align: left;
}

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

The only challenge I had was aligning the gram content of the table, but after a little research, I learned how to use Flexbox to achieve the required outcome.

By using the flex: 1; property, I was able to allow the list items to grow and shrink as needed, which enabled me to apply the align-items: left property.

Community feedback

Masseh 210

@Masseh2025

Posted

This is a very good solution but one thing I would do would be to use rems/ems and color variables.

Marked as helpful

0

Darkpoet 110

@Ojay16

Posted

@Masseh2025 thanks for the feedback.

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