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

Recipe Page - Responsive

eros77sc•160
@eros77sc
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 learned how to use pseudo-elements like ::marker and ::before to style list markers, and also how to style table borders that are larger than the table itself.

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

I found it challenging to get the correct element sizes. I tried converting between centimeters and pixels, and pixels to rem, but didn’t have much success, so I ended up visually adjusting the elements.

What specific areas of your project would you like help with?
  • Although I found solutions for the table borders, if you have any tips on using just border, it would be great to make the code shorter (I think).
  • Using ::before for the list markers was a solution, but I couldn’t make the same font-size changes with ::marker. Any tips?
  • I reused code from other cards in the Frontend Mentor challenges to make this card appear centered vertically and horizontally, but vertically it is "fixed" at the top of the page, without showing the background. How can I fix this?
  • I’m open to any other tips on the code!
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 eros77sc'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