Recall & Review
beginner
What is the purpose of Bootstrap's color utilities?
Bootstrap's color utilities let you quickly change text and background colors using simple classes, without writing custom CSS.Click to reveal answer
beginner
How do you change text color to primary in Bootstrap?
Add the class
text-primary to your HTML element to make its text color the primary theme color.Click to reveal answer
beginner
Which class changes the background color to success in Bootstrap?Use the class
bg-success to set the background color to the success theme color.Click to reveal answer
beginner
What class would you use to make text color white on a dark background?Use
text-white to make text white, which is helpful on dark backgrounds for good contrast.Click to reveal answer
intermediate
How can you reset background color to transparent using Bootstrap utilities?
Use the class
bg-transparent to remove any background color and make it transparent.Click to reveal answer
Which Bootstrap class changes text color to a warning color?
✗ Incorrect
The class
text-warning changes the text color to the warning theme color.What class sets the background color to primary in Bootstrap?
✗ Incorrect
The correct class is
bg-primary to set background color to primary.If you want white text on a dark background, which class should you use?
✗ Incorrect
Use
text-white to make text white, which stands out on dark backgrounds.Which class removes background color making it transparent?
✗ Incorrect
The class
bg-transparent sets the background color to transparent.To make text color red using Bootstrap utilities, which class is correct?
✗ Incorrect
Use
text-danger to apply the red (danger) color to text.Explain how to use Bootstrap color utilities to change text and background colors.
Think about the class prefixes text- and bg-
You got /5 concepts.
Describe why using Bootstrap color utilities is helpful for web design.
Consider speed, consistency, and accessibility
You got /5 concepts.