Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

QR Code Component using SCSS

sass/scss
totorocod•70
@totorocod
A solution to the QR code component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


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

Throughout this project, I discovered the power and flexibility of CSS variables, especially when used with the --root pseudo-class. By defining key colors in the :root element, such as --white, --light_gray, --grayish_blue, and --dark_blue, I was able to easily reuse these colors throughout my stylesheets.

Additionally, using Sass for nested styles and variables further streamlined my CSS code. Sass's nesting capabilities allowed me to write cleaner and more maintainable code.

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

After setting up my HTML and CSS, I decided to take on the challenge of using SCSS. I initially attempted to install it on my device by downloading the zip file from their GitHub repository and adding it to my environment variable path. However, when I tried to convert my SCSS file to CSS, it failed to recognize the sass command, indicating that I had not installed SASS properly.

I then consulted the SASS documentation and opted for a different installation method. This time, I successfully installed SASS using npm and was able to run it without any issues.

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

I want to ask feedback for the following:

  • Are there any specific techniques or best practices I should follow to make my design more responsive?
  • Are there any other Sass features or techniques you recommend I explore to improve my CSS workflow?
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 totorocod'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