curriculum/challenges/english/blocks/quiz-css-libraries-and-frameworks/66f1aeb60b11aec5abe83c2e.md
To pass the quiz, you must correctly answer at least 9 of the 10 questions below.
What is a CSS framework?
A tool to fix CSS errors.
A tool to lint CSS files.
A formatter for CSS files.
A library for CSS styles.
Which of the following is a popular utility-first CSS framework?
Template CSS
Loading CSS
Minimal CSS
Tailwind CSS
What is a disadvantage of CSS frameworks?
Too few components.
No customization options.
Improved browser support.
Can bloat CSS files.
What does SCSS stand for?
Super Cascading Style Sheets.
Structured CSS.
Simple CSS.
Sassy CSS.
Which of the following is a feature of Sass?
Comments
CSS linting.
Inline CSS.
Mixins
Which of the following is the correct way to use utility classes in Tailwind CSS?
<button class="color-blue text-color font-size allow-hover round-btn">
Button
</button>
<button class="blue text font-size hover round-btn margin-full">
Button
</button>
<button class="set-blue set-text set-font set-hover round-btn padding-full">
Button
</button>
<button class="bg-blue-500 text-white font-bold py-2 px-4 rounded-full hover:bg-blue-700">
Button
</button>
What are the two types of CSS frameworks?
Tablet first CSS frameworks and Component-based CSS frameworks.
Utility-first CSS frameworks and Lazy loading CSS frameworks.
Minimal CSS frameworks and Utility-first CSS frameworks.
Utility-first CSS frameworks and Component-based CSS frameworks.
What is the file extension for SCSS?
.sass
.scsss
.css
.scss
Which of the following is the correct way to define a variable in SCSS?
#primary-color: #3498eb;
header {
background-color: #primary-color;
}
>primary-color: #3498eb;
header {
background-color: >primary-color;
}
?primary-color: #3498eb;
header {
background-color: ?primary-color;
}
$primary-color: #3498eb;
header {
background-color: $primary-color;
}
Which of the following is the correct way to define a mixin?
--mixin center-flex {
display: flex;
justify-content: center;
align-items: center;
}
>mixin center-flex {
display: flex;
justify-content: center;
align-items: center;
}
mixin center-flex {
display: flex;
justify-content: center;
align-items: center;
}
@mixin center-flex {
display: flex;
justify-content: center;
align-items: center;
}