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 with appropriate HTML schematics

DFโ€ข 330

@FengDenny

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?

Creating this recipe page allowed me to understand the appropriate HTML elements to use to structure the page based on the following design

Styling the page allowed me deep dive the fundamentals of flexbox, media queries and CSS specificity

If I were to rebuild this recipe page again, I would use CSS Grid to practice using the grid system to layout the page instead of flex box

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

One challenge I encountered was with the nutrition section, styling the table content.

For the th and td content, I was unsure how to push the th to the far left and td elements to the far right as much as possible .

Using MDN Web Docs, I figured out the best way to do this is to use flex-basis to grow the content as much as possible so I set flex to 1 for th and td to grow them evenly

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

At the moment, none.

Community feedback

Munib ahmadโ€ข 190

@MunibAhmad-dev

Posted

nice

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