Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 3 years ago

Mobile-first responsive order summary card solution

bem, sass/scss, styled-components, semantic-ui
Christian Prasetya•370
@christian-prasetya
A solution to the Order summary component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


I started this challenge to improve my web content structuring and advanced styling in mind. That's why I challenged myself to create the styling using Sass and BEM method.

It was hard at first, and this is really my first time using Sass. Most of the time when I do challenge from frontend mentor, I always use vanilla CSS.

I learned so much about advanced CSS styling by using this Sass method:

  • I learn how to plan my styling by using so many partial Scss/Sass file.
  • I learn how to use variables in Sass
  • I learn how to use @mixin, function, and so many more

I also learn how to create a styling using BEM method, which is using block, element, and modifier classes, eventhough maybe the class attribute looking little bit cramped with lots of classes, but it does the job when you styling.

  1. What do you think about my Sass/Scss? Can it be improve?
  2. Is there anymore best practice for me to finish this challenge?

I like to hear from you, many thanks.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Christian Prasetya'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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License