Put in order · JavaScript and React course · Module 7: Styling and Animations

Steps to Configure SCSS in React

Arrange the steps for adding SCSS to a React project:

Items to put in order

  • Install sass (npm install sass)
  • Add variables and nesting
  • Change the CSS file extension to .scss
  • Import the .scss file in the component

You can check the correct answer by solving this task in the CodeWorlds game.