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

Responsive Recipe Page using Flexbox and Custom Styling

accessibility
Sarahchimaroke•10
@Sarahchimaroke
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'm proud of replicating the design closely and organizing my CSS using Flexbox. It helped me understand spacing, alignment, and mobile-first design.

Next time, I’d spend more time improving responsiveness and using more semantic HTML elements like <section>, <article>, and <aside> where necessary.

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

One major challenge I faced was aligning and spacing elements to match the design exactly—especially making the nutrition section and preparation time area look like the reference image. At first, my layout looked off in different browsers, and I struggled with making things sit on the same line or properly styled.

I overcame this by revisiting Flexbox and learning how to use gap, justify-content, and align-items effectively. I also inspected elements using Chrome DevTools to figure out what was causing layout shifts. Additionally, I reviewed CSS units like em, rem, and % for better responsiveness.

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

I’d appreciate feedback on how to better structure my HTML for accessibility, or how to make the page more responsive across all screen sizes.

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 Sarahchimaroke'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