Skip to content
  • Learning paths
  • Challenges
  • Solutions
  • Articles
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 4 years ago

Reponsive layout using React, Scss and ProgressBar component

Lucas Fernandes Souza, 21•20
@lucas860
A solution to the Fylo data storage component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Hi everyone,

I tried my best developing this page, and this was my first time applying SASS to an app, i have some doubts about it, i'll be so glad if you guys could help me with some :D!

  1. Since this was my first time using SASS, i didn't have any idea of how to apply it in the code, i did some research of how to implement in React and kind of adapted to the structure i usually use to code. Is there any kind of standard way to implement that in React? Or the way that i used is fine?

  2. When preparing the styles files, i set up a function to calculate PXs to EMs, but i ended up needing to import the file in other .scss style to be able to use it. But I also did some @mixin breakpoint and that i could use without any import. Did i forget to set up something or is there a difference in using functions or mixins?

  3. Also i saw that there is a difference in using the lib 'sass' and 'node-sass', because of @use and import uses, which one should i use?

Github solution repo: https://github.com/lucas860/FEM-fylo-data-storage-challenge

Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Lucas Fernandes Souza, 21'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
Frontend Mentor logo

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

Frontend Mentor

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

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

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub