Complete the code to align the text to the center using Bootstrap classes.
<p class="text-[1]">This text is centered.</p>
The Bootstrap class text-center aligns text to the center.
Complete the code to align the text to the right on large screens only.
<p class="text-lg-[1]">This text is right aligned on large screens.</p>
text-right without the breakpoint prefix.text-lg-center instead of right.The class text-lg-right aligns text to the right on large screens in Bootstrap.
Fix the error in the code to justify the text using Bootstrap classes.
<div class="text-[1]">This text should be justified.</div>
text-center or text-right instead of text-justify.The correct Bootstrap class to justify text is text-justify.
Fill both blanks to align text left on small screens and center on medium screens.
<p class="text-[1] text-md-[2]">Responsive text alignment.</p>
The class text-left aligns text left by default, and text-md-center centers text on medium screens and up.
Fill all three blanks to align text right on extra small screens, justify on small screens, and left on large screens.
<div class="text-[1] text-sm-[2] text-lg-[3]">Multi-breakpoint text alignment.</div>
Use text-right for extra small screens, text-sm-justify for small screens, and text-lg-left for large screens.