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 CSS

Mickyrio 60

@Mickyrio

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 really proud I tried it out.

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

I encountered many challenges.

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

sizing and flex

Community feedback

F-L-D-B 60

@F-L-D-B

Posted

Hi There!

I would suggest for future projects to create a style.css page to control all of your CSS and then use the classes to control what you do.

To get the white box around all the elements, you should put the image inside of your "main" div since the padding should go around the image as well.

For flex, you should have an additional Div for the container (white box) so that you can set it and make sure the flex-direction is set to Column. This will stack everything on top of each other. You can then use align-items and justify-content to make sure it's centered then set a width and a min-height of 100%. This would center the box.

Keep going, you look like you are getting some things down!

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