Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

React + Styled Components

P

@AurelienWebnation

Desktop design screenshot for the Recipe page coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

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?

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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