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 CSS and HTML

@MehmetCivril

Desktop design screenshot for the Recipe page coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

@weldu0

Posted

👍 I like how you use semantic HTML, without a single generic HTML tag!

The only thing I would improve is your CSS. The .omelette-recipe__container looks too big. You can set Flexbox on the body like this:

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

Then, add a maximum width to .omelette-recipe__container to make it looks like the design:

.omelette-recipe__container {
  /* Your other styles */
  max-width: 40rem;
}

I hope you find this helpful 😊

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