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

Recipe page using SCSS/BEM

P
Steven Stroudโ€ข 4,100

@Stroudy

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?

Hello, I'm Steven and this is my solution for this challenge using SCSS and BEM!๐Ÿ˜Š

๐Ÿ› ๏ธ Built with:

  • HTML ๐Ÿงพ
  • SASS ๐ŸŽจ
  • BEM Notation ๐Ÿ…ฑ๏ธ

Thank you to the Front-End Mentor team that creates these challenges that help us learning journey to front-end.๐Ÿ’Ÿ

๐Ÿฅ‡ I'm most proud of my ability to grasp the concept of utility classes and their application in CSS. Realising that Tailwind is essentially a collection of utility classes helped me understand the power of this approach to styling. Iโ€™m also pleased with how I tackled the challenge of working with tables for the first time, especially considering their importance for accessibility. Even though it was tricky to get the table styling precise, I learned a lot about the nuances of table design and the importance of accessibility features.

โณ Next time, I would focus on planning my styling approach more carefully, especially when dealing with complex elements like tables and lists. I would also take extra care with default styles, like the font-weight on headings, to avoid unexpected results. Additionally, Iโ€™d double-check all file paths and links from the start to avoid issues with hosting websites not finding my resources.

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

๐Ÿ’ป One of the main challenges I encountered was styling bullet points in a way that looked clean and consistent across different browsers. Initially, I struggled with the default behavior of list markers being outside the element, but using list-style-position: inside; helped control that, although it introduced some alignment issues with numbers and text. I also had to figure out how to correctly change the color of bullet points using the &::marker pseudo-element in SCSS, which was a new concept for me.

๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Another challenge was dealing with the default styling of headings, particularly the h2 tag, which appeared too bold. After some investigation, I realized that h2 tags have a default font-weight of bold, which I needed to adjust for my design.

๐ŸŒ Finally, getting my project hosted correctly involved troubleshooting why some CSS and images werenโ€™t loading. I discovered that I had to remove a trailing slash from the link tags to ensure the hosting service could find the files correctly.

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

โ„น๏ธ I would appreciate help with a few specific areas, particularly around fine-tuning my table styling to make it more precise and accessible. I found it challenging to get the table design exactly right, especially when balancing aesthetics with usability and accessibility.

โž• Additionally, Iโ€™d like some guidance on best practices for handling default browser styles, such as dealing with unexpected font weights on headings or the positioning of list markers. Understanding how to manage these defaults effectively would greatly improve the consistency of my designs.

โ“ Finally, Iโ€™d appreciate any tips on optimizing file paths and resource linking for web hosting, as this caused some issues during deployment. Ensuring that all resources load correctly the first time would streamline the process and prevent headaches down the line.

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