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

Responsive recipe page using Flex, BEM

hchao7 50

@hchao7

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 applied BEM much more strictly compared to my previous projects. For example, I noticed that all the sections (Title Section, Ingredients, Instructions, etc.) were variations of the same basic style. So I created a block to represent this basic entity, called component, and then added modifiers for a slight change in component's appearance.

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

I was a bit confused about how to create custom bullets for li elements, but ultimately figured it out by using the ::before pseudo-class.

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