Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 7 months ago

Recipe Page Main: I used flexbox and :nth-child selectors

P
Aero Flamiano•220
@aflamiano-career
A solution to the Recipe page challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I used a few :nth-child elements, I aim to strike a good balance between giving class names and just using selectors.

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

I took a bit of time on the Nutrition section, as it is a table. I was unsure if I should use a table or a flexbox or even a grid. I settled with using a table for now for simplicity.

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

I need help with going from a full header to something that fits inside a container. My approach does not seem too elegant for my taste, hopefully you guys have a better alternative.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Aero Flamiano's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License