Question 172Asked in DSSSB TGT Computer Science, 25 Jun 2023, Shift 3 (4:30 PM)

What is the purpose of using a CSS pre-processor in front-end development?

  1. ATo simplify and extend the capabilities of CSS
  2. BTo add interactivity to a web page using JavaScript
  3. CTo add style and layout to a web page using CSS
  4. DTo improve the performance of a web page using optimised code
Show answerHide answer

Correct answer: (A) To simplify and extend the capabilities of CSS

Explanation

A CSS pre-processor such as Sass or LESS adds variables, nesting, mixins and functions to CSS. It simplifies and extends CSS, then compiles to plain CSS.

From DSSSB TGT Computer Science PYQ, 25 Jun 2023, Shift 3 (4:30 PM)

This is question 172 of DSSSB TGT Computer Science PYQ, 25 Jun 2023, Shift 3 (4:30 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.