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

FMCC Recipe Page

@nandha126

Desktop design screenshot for the Recipe page coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

@ahmedsomaa

Posted

Hey, amazing job. Congrats on completing this challenge!

A few tips!

HTML:

  • I like the fact that you used <figure/> as a container for the <img/>.
  • It would be better to divide your page into sections using <section/> element and give each one a unique id instead of using a <div/>, this would give it a better semantic meaning. Example of sections could be Ingredients, Instructions...etc.

CSS:

  • You can import multiple fonts in one @import statement like this @import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&family=Young+Serif&display=swap");
  • Set the font-size: 16px for the whole document and then use rem for any other font-size like <h1/>, <h2/>. Also, your document's font size is set to 11px which way too small, make it 16px or 14px at least.
  • Change the color of the text in the document to stone-600 as this is much closer to the design that the one's you used.
  • Change the list-style of the Ingredients to square at least that's how I see it. It's too small.
  • Add a line-height: 1.5 or margin-top & margin-bottom for list items as this looks bigger in the design.
0
P
Greg Perry 190

@chizy21

Posted

Great job with the HTML layout, there are some duplicates in the CSS that could be cleaned up.

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