1D0-720 · Question #16
What is SASS primarily used for in web development?
The correct answer is B. To write more maintainable, modular CSS code. SASS (Syntactically Awesome Style Sheets) is a CSS preprocessor that extends plain CSS with features like variables, nesting, mixins, and partials, making stylesheets easier to write, reuse, and maintain across large projects - which is exactly what option B describes. Option A…
Question
What is SASS primarily used for in web development?
Options
- ATo create complex animations.
- BTo write more maintainable, modular CSS code.
- CTo automatically optimize images.
- DTo enhance the performance of JavaScript.
How the community answered
(24 responses)- B96% (23)
- D4% (1)
Explanation
SASS (Syntactically Awesome Style Sheets) is a CSS preprocessor that extends plain CSS with features like variables, nesting, mixins, and partials, making stylesheets easier to write, reuse, and maintain across large projects - which is exactly what option B describes. Option A is wrong because animations are handled natively in CSS or JavaScript, not by SASS. Option C is incorrect since image optimization is a build-tool or server-side concern (e.g., webpack, imagemin), not a stylesheet preprocessor task. Option D is wrong because SASS has no interaction with JavaScript performance whatsoever - it compiles down to standard CSS. Memory tip: Think of the "S" in SASS as standing for Structure - it brings structure and modularity to CSS the same way modules bring structure to programming languages.
Topics
Community Discussion
No community discussion yet for this question.