Sass Quiz
Check your Sass knowledge with these questions from the whole tutorial.
How the Quiz Works
- Choose one answer for each question
- You see the right answer and a short explanation straight away
- If you get one wrong, go back to that chapter and compare the SCSS with its CSS output again
Quiz Questions
Exercise
Which file does an HTML page link to when you use Sass?
Exercise
Which is the official, maintained version of Sass today?
Exercise
Which line uses a Sass variable correctly?
Exercise
What CSS does this produce? .menu { a { color: red; } }
Exercise
Inside .card { ... }, what does &-title { ... } produce?
Exercise
How do you load a partial called _colors.scss in modern Sass?
Exercise
What does the !default flag do?
Exercise
Which pair is used to create and then use a mixin?
Exercise
What is special about a placeholder selector like %button-base?
Exercise
Which built-in function should you use for division in modern Sass?
What Next?
Well done on finishing the Sass tutorial. Use what you learned to customise Bootstrap, try Tailwind CSS, or move on to JavaScript.
Ready to build complete websites? Join the Workownix Web Development course, online or at our institute in Orangi Town, Karachi.
