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-Omelette-Recipe Display: flex, display: block, medias.

@RogerTito455

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?

I am really proud of the pacience that I had doing this and how my mind think.

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

Well, I really have a lot of problems to put the image inside the box without moving. I mean all the time image was in size that wasn't the correct

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

I would like to know if there are other ways to make this or make it better,

Community feedback

@suzzy-dszy

Posted

Your solution comes close to the required design but there are some aspects which can be improved upon:

Your solution comes close to the required design but there are some aspects which can be improved upon:

  1. Semantics: Your HTML code greatly lacks semantic elements such as main, section and footer.

    • For example, use main to wrap the entire contents within body instead of section.
    • You used the div element to define the different sections such as summary, ingredients, instructions, etc. Instead you should've used section element to define the different sections of the recipe.
  2. The left border in the table to separate the two sides puts the design out of place from what is required, however if that's your personal preference then there's no issue.

  3. If you pay close attention to the design images that are provided, you will notice that the bullet points are coloured. If you want to further improve your code to match the design you can use ::marker on the list element to do this.

  • A useful website that you can refer to is MDN WebDocs to further read up on the elements and classes that I have mentioned. Otherwise, all in all, you have done a great job. 💯

Marked as helpful

1

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