Skip to content
Submitted almost 2 years ago

React + Styled Components

react, vite, styled-components
LVL 2
@AurelienWebnation
A solution to the Recipe page challenge

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

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