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

Responsive Recipe Page with Mobile First Workflow

pure-css
P
Josh Kahlbaugh•540
@Joshk7
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 happy with how the media queries turned out because I approached the challenge by styling the mobile version and making media queries to add on top of mobile.

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

I big challenge I encountered was trying to align the markers of list items to the left and the padding and margin with the ul, ol, and li tags in css.

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

I'd specifically like help with the ::marker selectors and styling of the bullet points next to list items:

.instructions ol {
    padding-left: var(--space-300);
}

.instructions li {
    padding-left: var(--space-200)
}

.instructions li::marker {
    font: var(--text-preset-5);
    color: var(--brown-800);
}

Additionally, the text wrap of the nutrition description p tag on mobile could look better if anyone has tips on text-wrapping properties.

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 Josh Kahlbaugh'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