Challenge - 5 Problems
Font Weight Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📝 Syntax
intermediate1:00remaining
Which Tailwind class sets the font weight to bold?
Choose the Tailwind CSS class that correctly applies a bold font weight to text.
Attempts:
2 left
💡 Hint
Tailwind uses the prefix
font- for font weight classes.✗ Incorrect
The correct Tailwind class for bold font weight is font-bold. Other options are not valid Tailwind classes.
❓ rendering
intermediate1:30remaining
What font weight will the text have with class
font-light?If you apply the Tailwind class
font-light to a paragraph, what font weight will the text display in the browser?Tailwind
<p class="font-light">Sample text</p>Attempts:
2 left
💡 Hint
Tailwind font weights follow numeric values similar to CSS font-weight property.
✗ Incorrect
The font-light class applies a font weight of 300, which is lighter than normal (400).
❓ selector
advanced1:30remaining
Which Tailwind class applies the heaviest font weight?
Select the Tailwind CSS class that applies the heaviest (boldest) font weight available by default.
Attempts:
2 left
💡 Hint
Tailwind font weights range from thin (100) to black (900).
✗ Incorrect
font-black applies font weight 900, which is the heaviest font weight in Tailwind by default.
🧠 Conceptual
advanced1:30remaining
How does Tailwind's
font-semibold compare to font-bold?Choose the correct statement about the difference between
font-semibold and font-bold in Tailwind CSS.Attempts:
2 left
💡 Hint
Think about numeric font-weight values: semibold is usually less than bold.
✗ Incorrect
font-semibold applies font weight 600, which is lighter than font-bold at 700.
❓ accessibility
expert2:00remaining
Why is controlling font weight important for accessibility?
Select the best reason why adjusting font weight using Tailwind classes can improve accessibility on websites.
Attempts:
2 left
💡 Hint
Think about how text visibility helps users with vision difficulties.
✗ Incorrect
Heavier font weights increase the thickness of letters, making text easier to see and read for users with low vision, improving accessibility.