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 flex

P

@Rohloffmeister

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?

Website responsiveness

Community feedback

shwerts 100

@shwerts

Posted

Hello, good!

Looks like there are some areas you should fix:

  • You can instead use a bit more CSS to add margins & change blank tables with <hr> tag.
  • Don't use anchor tags to markup bold text, use <b>, <span> or other inline-level tags, suitable for bolding text.
  • For nutrition names in table, use <th> to add headers for table content layout.
  • Give recipe's max-width property another relative unit like rem.
  • Look for increasing container's padding and you can remove image's margin.
  • Shift your stylesheet to external file

I can recommend you to visit "MDN web docs" if you haven't done that, their guide series are great.

I also recommend you using CSS Reset because every user agent's (browsers) stylesheet differs

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