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

Desafio Pagina receita com HTML CSS, utilizando flexbox

@CodeClayton

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?

Foi bastante facil centralizar ambas divs com flexbox e classes css, e também gosto que estou melhorando minha visão para montar um projeto com uma preview dele.

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

Para deixar centralizado a parte da nutrição mas no final consegui, e também eu poderia usar tags semânticas do html como section.

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

no final na parte da nutrição queria saber se havia alguma solução mais fácil.

Community feedback

Vanessa M. 200

@mendezpvi

Posted

Excellent work 👏, here are some suggestions:

  • Use semantic tags like article, section, table.
  • If you look closely you will see that all the content is a 'card', and the image is inside this card.
  • The image in the mobile version could be said to start at coordinates 0, 0 (it occupies the width of the viewport). One of the options to achieve this is with position: relative.
  • In the Nutrition section, don't you think that semantically it corresponds to a table?
  • You could give a margin-bottom to the attribution class, give it some space.

I hope this helps you, I invite you to visit my solution, maybe it will give you some ideas. 😎

0
Sean 100

@agoatnamedbear

Posted

Overall it looks great. The only things I can see that are a bit different from the design file are:

  • A bit more padding around the prep section
  • A bit too much left margin for the Instructions and Nutrition sections
  • The horizontal rules aren't equally distant between elements

Other than those couple of things you are doing great. Just keep practicing and you'll get even better with time.

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