0
0
Bootsrapmarkup~10 mins

Display headings in Bootsrap - Interactive Code Practice

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

Complete the code to create a heading with Bootstrap's largest heading style.

Bootsrap
<h[1] class="display-1">Welcome to Bootstrap</h[1]>
Drag options to blanks, or click blank then click option'
A1
B2
C3
D4
Attempts:
3 left
💡 Hint
Common Mistakes
Using a smaller heading tag like h4 with display-1 can cause inconsistent sizes.
Forgetting to close the heading tag properly.
2fill in blank
medium

Complete the code to create a medium-sized Bootstrap display heading.

Bootsrap
<h[1] class="display-4">Hello, Bootstrap!</h[1]>
Drag options to blanks, or click blank then click option'
A1
B2
C3
D5
Attempts:
3 left
💡 Hint
Common Mistakes
Using an invalid heading tag like h5 with display-4.
Mismatching opening and closing tags.
3fill in blank
hard

Fix the error in the code to properly display a Bootstrap heading with class display-3.

Bootsrap
<h[1] class="display-3">Bootstrap Heading</h2>
Drag options to blanks, or click blank then click option'
A2
B3
C4
D1
Attempts:
3 left
💡 Hint
Common Mistakes
Leaving mismatched tags causes rendering errors.
Using a heading tag that doesn't match the display class.
4fill in blank
hard

Fill both blanks to create a Bootstrap heading with class display-2 and correct closing tag.

Bootsrap
<h[1] class="display-2">Big Heading</h[2]>
Drag options to blanks, or click blank then click option'
A2
B3
D1
Attempts:
3 left
💡 Hint
Common Mistakes
Using different numbers for opening and closing tags.
Using a heading tag that doesn't match the display class.
5fill in blank
hard

Fill all three blanks to create a Bootstrap heading with class display-5, correct tag, and closing tag.

Bootsrap
<h[1] class="display-5">Small Heading</h[2]><!-- Add a comment here -->
<!-- This is a [3] -->
Drag options to blanks, or click blank then click option'
A5
Ch5
Dheading
Attempts:
3 left
💡 Hint
Common Mistakes
Mismatched opening and closing tags.
Incorrect comment text.