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

Frontend Mentor challenge 4: Recipe Page.

TheTrueScout•170
@TheTrueScout
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 implemented some of the advice given to me on my last few challeges, and i would like to know if i did better this time :).

What specific areas of your project would you like help with?
  1. The list elements. I took a very round about way to fix two things- one of them being changing the width of the bullet points. I used li:marker { width: 0.3rem; } but it did not change the size. the second thing was the space between the li and the text. For both the ol and the ul, I used the pseudo element ::before to make that space(and changing the size of the bullets), but it got much more complicated with the ol and the code got longer than I'd have wanted it to. If there's a better way to fix these, please tell me.

  2. Is there a way to increase space between li elements without turning ul or ol into flex elements? I don't think gap: works without flex( I could be mistaken.)

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