Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

Responsive recipe page

Andrew•420
@ahndrou
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 think I implemented the design pretty close to the specification (without using Figma). I forgot to add the line spacing in some of the lists and so I would change that next time.

Also, the image was sort of tricky to separately style in the mobile version, and so I would put it in a separate container in future versions.

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

The image was in the same container as the rest of the content. This was was useful as I wanted all of the content to have the same padding. It caused problems though when I tried to implement the mobile breakpoint; I wanted to remove the padding and the only way I could think of to do this was to use relative positioning and 'undo' the padding for that specific element. This seems somewhat hacky though and I think perhaps not including it in the same container might make this easier in future.

A takeaway might be to look at both designs (desktop and mobile) and see if anything will have to change and account for it in the HTML.

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

Nothing.

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