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

React + Styled Components

react, vite, styled-components
Aurélien Cabirol•130
@AurelienWebnation
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 think I did a pretty good job of following the design.

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

The biggest challenge for me was to manage the lists. I first tried to use the native html element (ol and ul) but I didn't succeed to follow the figma model with that solution. I finally recreated a component from scratch to manage the bullet and the number marker and all the cases. An other challenge with this list was to managed the case where we need to add some weight on the first few words. I used the dangerouslySetInnerHTML onto the li element of my List component to pass a element from my array of strings.

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

I'm not sure about my List component. Can I improve it? An alternative?

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 Aurélien Cabirol'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