0
0
Tailwindmarkup~10 mins

Text transform (uppercase, lowercase) in Tailwind - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to make the text uppercase using Tailwind CSS.

Tailwind
<p class="[1]">hello world</p>
Drag options to blanks, or click blank then click option'
Atext-normal-case
Btext-lowercase
Ctext-capitalize
Duppercase
Attempts:
3 left
💡 Hint
Common Mistakes
Using text-lowercase which makes text lowercase.
Using text-capitalize which only capitalizes first letters.
2fill in blank
medium

Complete the code to make the text lowercase using Tailwind CSS.

Tailwind
<span class="[1]">HELLO WORLD</span>
Drag options to blanks, or click blank then click option'
Alowercase
Btext-uppercase
Ctext-capitalize
Dtext-normal-case
Attempts:
3 left
💡 Hint
Common Mistakes
Using text-uppercase which makes text uppercase.
Using text-capitalize which only capitalizes first letters.
3fill in blank
hard

Fix the error in the code to correctly transform text to capitalized form using Tailwind CSS.

Tailwind
<div class="[1]">hello world</div>
Drag options to blanks, or click blank then click option'
Atext-uppercase
Bcapitalize
Ctext-normal-case
Dtext-lowercase
Attempts:
3 left
💡 Hint
Common Mistakes
Using text-uppercase which makes all letters uppercase.
Using text-lowercase which makes all letters lowercase.
4fill in blank
hard

Fill both blanks to create a paragraph with uppercase text and normal font weight using Tailwind CSS.

Tailwind
<p class="[1] [2]">This is important!</p>
Drag options to blanks, or click blank then click option'
Auppercase
Bfont-bold
Cfont-normal
Dtext-lowercase
Attempts:
3 left
💡 Hint
Common Mistakes
Using font-bold instead of font-normal.
Using text-lowercase instead of uppercase.
5fill in blank
hard

Fill all three blanks to create a heading with lowercase text, bold font, and centered alignment using Tailwind CSS.

Tailwind
<h1 class="[1] [2] [3]">Welcome Home</h1>
Drag options to blanks, or click blank then click option'
Atext-uppercase
Bfont-bold
Clowercase
Dtext-center
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up uppercase and lowercase classes.
Forgetting to center the text.