0
0
Tailwindmarkup~20 mins

Text transform (uppercase, lowercase) in Tailwind - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Text Transform Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📝 Syntax
intermediate
2:00remaining
Which Tailwind class makes text uppercase?
You want to transform text to uppercase using Tailwind CSS. Which class should you use?
Auppercase
Btext-uppercase
Ctext-upper
Dtext-transform-uppercase
Attempts:
2 left
💡 Hint
Tailwind uses short, simple class names for common CSS properties.
rendering
intermediate
2:00remaining
What will be the visual output of this HTML with Tailwind?
Given this HTML snippet:
<p class="lowercase">HELLO WORLD</p>

What will the text look like in the browser?
Tailwind
<p class="lowercase">HELLO WORLD</p>
AhElLo WoRlD (mixed case)
Bhello world (all lowercase)
CHello World (capitalized first letters)
DHELLO WORLD (all uppercase)
Attempts:
2 left
💡 Hint
The 'lowercase' class changes all letters to small letters.
🧠 Conceptual
advanced
2:00remaining
Which Tailwind class does NOT affect text case?
Select the Tailwind class that does NOT change the case of text.
Alowercase
Bcapitalize
Ctruncate
Duppercase
Attempts:
2 left
💡 Hint
Think about what 'truncate' does to text.
selector
advanced
2:00remaining
Which CSS selector targets all uppercase text in Tailwind?
You want to style all elements with uppercase text using Tailwind's generated CSS. Which selector matches the uppercase text class?
A.text-uppercase
B#uppercase
Cuppercase
D.uppercase
Attempts:
2 left
💡 Hint
Tailwind uses class selectors starting with a dot.
accessibility
expert
3:00remaining
How to ensure uppercase text remains accessible?
You use Tailwind's 'uppercase' class to transform text visually. What should you do to keep the text accessible for screen readers?
AAdd aria-label with original text in normal case
BUse JavaScript to change text content to uppercase permanently
CWrap text in &lt;strong&gt; tags to emphasize uppercase
DNo action needed; screen readers read transformed text correctly
Attempts:
2 left
💡 Hint
Screen readers read the actual text content, not CSS transformations.