Skip to content
Submitted 19 days ago

Recipe Page using Flex-box

P
LVL 2
@KingRocko
A solution to the Recipe page challenge

Solution retrospective


What are you most proud of, and what would you do differently next time?

I’m particularly happy with how I implemented primitive and semantic custom properties. Although setting them up takes some time, they really pay off when styling components.

Next time, I would put even more effort into establishing consistent naming conventions for custom properties right from the beginning. I still need some practice and discipline in this area, but I’m becoming increasingly aware of how much easier it makes maintaining and adjusting styles.

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

Some seemingly minor details turned out to be surprisingly time-consuming. For example, getting the list bullet points and their indentation right required quite a bit of experimentation. Styling the table in the final section was also more challenging than expected.

Another important lesson was figuring out how to handle padding across different screen sizes. Moving the padding from the content wrapper in the mobile view to the card wrapper in the desktop view made the layout much easier to manage.

I also learned to pay closer attention to font handling with @font-face, particularly when a locally installed static font might interfere with the intended variable font.

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

I’d particularly appreciate feedback on how I’ve structured and named my CSS custom properties, especially the distinction between primitive and semantic values.

Code
Loading...

Please log in to post a comment

Log in

Community feedback

No feedback yet. Be the first to give feedback on King Rocko’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