Recall & Review
beginner Click to reveal answer
What class in Bootstrap controls the size of icons?Bootstrap uses classes like
fs-1 to fs-6 to control font size, which affects icon size when using icon fonts or SVG icons.beginner Click to reveal answer
How do you change the color of an icon in Bootstrap?
You can change icon color by applying Bootstrap text color utility classes like
text-primary, text-success, or custom CSS color styles.beginner Click to reveal answer
What does the Bootstrap class
text-muted do to an icon?The <code>text-muted</code> class applies a lighter gray color to the icon, making it appear less prominent.beginner Click to reveal answer
How can you make an icon larger than the default size using Bootstrap?
Use a larger font size class like <code>fs-1</code> or <code>fs-2</code> on the icon element to increase its size.intermediate Click to reveal answer
Why is it important to use semantic colors and sizes for icons in web design?
Using semantic colors and sizes helps users understand the meaning and importance of icons, improves accessibility, and creates a consistent look.
Which Bootstrap class would you use to make an icon smaller?
✗ Incorrect
The class
fs-6 sets the font size smaller, which makes the icon smaller.How do you apply a red color to an icon using Bootstrap classes?
✗ Incorrect
The
text-danger class applies a red color to text or icons.What is the effect of the
text-muted class on an icon?✗ Incorrect
The
text-muted class makes the icon color a lighter gray.Which class would you use to make an icon very large?
✗ Incorrect
The
fs-1 class sets the font size to the largest predefined size.Why should icon colors be chosen carefully in web design?
✗ Incorrect
Choosing colors carefully helps users understand icons and improves accessibility.
Explain how to change the size and color of an icon using Bootstrap classes.
Think about font size and text color utilities.
You got /3 concepts.
Why is it important to use semantic colors and sizes for icons in your web projects?
Consider how users perceive icons and their meaning.
You got /4 concepts.
