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

Responsive Recipe Page

Lauren Delmar•100
@lrdelmar
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 really pleased with the responsiveness of the page, works on small and large screens. I chose to use display: grid and gap to add white-space between the elements.

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

I had issues with the lists, aligning the bullets and also the wrapping text. I used list-style-position: inside; and text-indent: -2.2em; for those. To get the bullets and text different colours I wrapped the text in a ``. And with the table after some research I was able to align it correctly and add the lines between the rows

table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}

tr {
  border-bottom: 1px solid hsl(30, 18%, 87%);
}

tr:last-child {
  border-bottom: none;
}
What specific areas of your project would you like help with?

How would you get the lists to align and the text so it doesn't wrap immediately underneath the bullet point?

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 Lauren Delmar'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