Complete the code to apply a sans-serif font family using Tailwind CSS.
<p class="font-[1]">This text uses a sans-serif font.</p>
font-serif instead of font-sans for sans-serif fonts.font-mono which applies monospace fonts.The class font-sans applies a sans-serif font family in Tailwind CSS.
Complete the code to apply a monospace font family using Tailwind CSS.
<code class="font-[1]">console.log('Hello, world!');</code>
font-sans or font-serif for code blocks.font-display which is for decorative fonts.The class font-mono applies a monospace font family in Tailwind CSS, which is good for code.
Fix the error in the class name to apply a serif font family using Tailwind CSS.
<h1 class="font-[1]">Welcome to the site</h1>
font-sans when a serif font is needed.font-script.The correct class for serif fonts in Tailwind CSS is font-serif.
Fill both blanks to apply a monospace font and make the text bold using Tailwind CSS.
<p class="[1] [2]">This is code text.</p>
font-sans instead of font-mono for code text.font-light instead of font-bold for bold text.font-mono applies monospace font and font-bold makes text bold in Tailwind CSS.
Fill all three blanks to create a heading with serif font, extra large size, and italic style using Tailwind CSS.
<h2 class="[1] [2] [3]">Stylish Heading</h2>
font-mono instead of font-serif for serif fonts.italic for italic style.font-serif applies serif font, text-xl sets extra large text size, and italic makes text italic in Tailwind CSS.