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

Recipe card

Katarzyna Kaźmierczak•260
@KasiaKaz14
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 am proud I finally finished this project. It maybe was not so hard, but contained many little details that took much time to arrange and style the whole card properly.

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

The greatest challenge for me was to arrange the table according to the template. The secord part, I mean kcal i g, made me a few problems because I can't find the way how to set them in a proper way. The only idea I came up was to create separate classes for each element. This way I could set the proper margin-left for every element. The second problem appear when I had to set border bottom which separated three sections: Ingredients, Instructions and Nutrition. Here I had to play around with margin, padding, display etc. Finally I did it. Project is finished. If someone has another way how to do it faster and better - I am open for advices.

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

As I wrote in the last answer: if someone has an idea how to set borders and table in another or better way - feel free to leave a comment.

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 Katarzyna Kaźmierczak'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