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

QR Code Component using SCSS

totorocod 70

@totorocod

Desktop design screenshot for the QR code component 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?

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?

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