Challenge: Typography in Action
Task
Using the Tailwind CSS utilities for typography, create a text component with the following specifications:
- A heading (
h1
) with:- Font size of 4xl;
- Bold font weight;
- Normal line height.
- A subheading (
h2
) with:- Font size of 2xl;
- Semi-bold font weight;
- Tight line height.
- A paragraph (
p
) with:- Font size of base;
- Normal font weight;
- Relaxed line height.
index.html
Takk for tilbakemeldingene dine!