Sass MCQ Test: Sass MCQs - Practice Questions
1. What does the 'placeholder' selector in Sass help in styling?
2. What does the '!default' flag do when defining a variable in Sass?
3. What is the purpose of the 'placeholder' selector in Sass?
4. In Sass, how do you use the 'not' function to exclude a value from a list?
5. In Sass, what does the 'global' variable scope refer to?
6. In Sass, what does the 'meta' function provide?
7. Which Sass feature is used to perform mathematical operations?
8. What does the 'str-length' function in Sass measure?
9. What does the 'each' function in Sass help you achieve?
10. How do you use the 'map-get' function in Sass?
11. How do you create a Sass mixin?
12. How do you use the 'feature-value' function in Sass?
13. How does the 'selector-append' function in Sass differ from 'selector-replace'?
14. How do you use the 'feature-value-exists' function in Sass?
15. What is the purpose of the 'mixin' in Sass?
16. What is the purpose of the 'feature-value' function in Sass?
17. Which directive is used to create a loop in Sass?
18. What is the purpose of the '@warn' directive in Sass?
19. Which Sass feature is used to prevent a style from being output in the final CSS?
20. What is the purpose of the 'unique-id' function in Sass?
21. How do you use the 'selector-parent' function in Sass?
22. What is the purpose of the 'map-keys' function in Sass?
23. How do you create a Sass placeholder?
24. What does the 'selector-extract' function in Sass do?
25. How do you use the 'str-slice' function in Sass?
26. What does the 'is-bracketed' function in Sass check for?
27. What is the purpose of the 'str-join' function in Sass?
28. In Sass, what does the 'selector-parse' function provide?
29. Which directive is used to define a mixin in Sass?
30. How do you comment out multiple lines in Sass?