Recall & Review
beginner
What Tailwind CSS class adds an underline to text?The <code>underline</code> class adds an underline to text in Tailwind CSS.Click to reveal answer
beginner
How do you remove underline from a link using Tailwind CSS?
Use the <code>no-underline</code> class to remove underline from text or links.Click to reveal answer
beginner
Which Tailwind class adds a line-through decoration to text?The <code>line-through</code> class adds a line through the text, often used to show something is crossed out.Click to reveal answer
intermediate
How can you make text have no decoration at all in Tailwind CSS?
Use the <code>no-underline</code> class to remove all text decorations like underline or line-through.Click to reveal answer
intermediate
What Tailwind class changes the color of the underline?Use
decoration-{color} classes, for example decoration-red-500, to change the underline color.Click to reveal answer
Which Tailwind class adds an underline to text?
✗ Incorrect
The
underline class adds an underline to text.How do you remove underline from a link in Tailwind CSS?
✗ Incorrect
The
no-underline class removes underline from text.Which class adds a line through the text in Tailwind?
✗ Incorrect
The
line-through class adds a line through the text.How can you change the underline color in Tailwind CSS?
✗ Incorrect
Use
decoration-{color} classes to change underline color.Which class removes all text decorations in Tailwind?
✗ Incorrect
The
decoration-none class removes all text decorations.Explain how to add and remove underline from text using Tailwind CSS classes.
Think about which classes add or remove the underline style.
You got /3 concepts.
Describe how to change the color of an underline in Tailwind CSS and why it might be useful.
Consider how color classes work in Tailwind and how they apply to text decoration.
You got /3 concepts.