Challenge: Explore Font Properties
Task
Let's apply various font properties to specific elements:
For h1
:
- Font family:
Arial
. - Font size:
36px
. - Font weight:
600
. - Font style:
italic
.
For p
:
- Font family:
Georgia
. - Font size:
18px
. - Font weight:
400
. - Font style:
normal
.
index.html
index.css
font-family
: Specifies the font family.font-size
: Defines the font size.font-weight
: Sets the font weight.font-style
: Specifies the font style.
index.html
index.css
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 2. Kapittel 6
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Awesome!
Completion rate improved to 2.5
Challenge: Explore Font Properties
Sveip for å vise menyen
Task
Let's apply various font properties to specific elements:
For h1
:
- Font family:
Arial
. - Font size:
36px
. - Font weight:
600
. - Font style:
italic
.
For p
:
- Font family:
Georgia
. - Font size:
18px
. - Font weight:
400
. - Font style:
normal
.
index.html
index.css
font-family
: Specifies the font family.font-size
: Defines the font size.font-weight
: Sets the font weight.font-style
: Specifies the font style.
index.html
index.css
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 2. Kapittel 6