Desafio Pagina receita com HTML CSS, utilizando flexbox
Design comparison
Solution retrospective
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
- Account deleted
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 theviewport
). One of the options to achieve this is withposition: relative
. - In the
Nutrition
section, don't you think that semantically it corresponds to atable
? - You could give a
margin-bottom
to theattribution
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 - Use semantic tags like
- @agoatnamedbearPosted 7 months ago
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 GitHubJoin 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