Recall & Review
beginner
What is SASS in web development?
SASS is a tool that helps write CSS faster and easier by using features like variables and nesting.
Click to reveal answer
beginner
How do you write a variable in SASS?
You write a variable with a $ sign, like
$main-color: #3498db; to store a color value.Click to reveal answer
beginner
What does nesting mean in SASS?
Nesting means putting CSS selectors inside others to show they belong together, making code cleaner.
Click to reveal answer
beginner
How do you compile a SASS file to CSS?
You use a tool like the command
sass input.scss output.css to turn SASS into normal CSS.Click to reveal answer
beginner
Why use SASS instead of plain CSS?
SASS saves time and keeps styles organized with features like variables, nesting, and reusable code.
Click to reveal answer
Which symbol starts a variable in SASS?
✗ Incorrect
In SASS, variables always start with a $ sign, like
$color: red;.What is the main benefit of nesting selectors in SASS?
✗ Incorrect
Nesting helps organize CSS by showing which styles belong inside others, making code cleaner.
How do you convert a SASS file to CSS?
✗ Incorrect
SASS files must be compiled with a tool like the sass command to create CSS files browsers understand.
Which of these is a valid SASS variable declaration?
✗ Incorrect
Variables in SASS start with $ and are assigned with a colon, like
$font-size: 16px;.Why might a developer choose SASS over plain CSS?
✗ Incorrect
SASS adds helpful features like variables and nesting that make writing and managing styles easier.
Explain how to create a simple SASS stylesheet with a variable and nested selectors.
Think about how variables store values and nesting groups related styles.
You got /4 concepts.
Describe the steps to convert a SASS file into a CSS file that browsers can use.
Remember browsers only understand CSS, so SASS needs to be changed first.
You got /4 concepts.