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

simple landing recpi page using html and css

@usama247550

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

👋 Hey, @usama247550! I have a few suggestions to improve your solution:

  1. Wrap all your content inside a single container, like this:
<div class="container" style="max-width:40rem;">
    All your content goes here
</div>
  1. Then, you can easily center everything using Flexbox by adding this to your CSS:
body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 10rem; /* Adjusts the spacing to match the design */
}

Everything else in your solution looks great!

Great work! 👏

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