Question · HTML and CSS course · Module 7: SASS

Variables in SASS

How do you declare a variable in SASS?

Answer options

  • @primary-color: #333;
  • $primary-color: #333;
  • primary-color := #333;
  • var primary-color = #333;

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