Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Challenge: Explore Font Properties | Styling Text in CSS
CSS Fundamentals
course content

Kursinhalt

CSS Fundamentals

CSS Fundamentals

1. Getting Started with CSS
2. Styling Text in CSS
3. The CSS Box Model & Spacing Elements
4. Mastering Flexbox for Layouts
5. Adding Decorative Effects with CSS

book
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.

html

index.html

css

index.css

copy
  • font-family: Specifies the font family.

  • font-size: Defines the font size.

  • font-weight: Sets the font weight.

  • font-style: Specifies the font style.

html

index.html

css

index.css

copy

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 6

Fragen Sie AI

expand
ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

course content

Kursinhalt

CSS Fundamentals

CSS Fundamentals

1. Getting Started with CSS
2. Styling Text in CSS
3. The CSS Box Model & Spacing Elements
4. Mastering Flexbox for Layouts
5. Adding Decorative Effects with CSS

book
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.

html

index.html

css

index.css

copy
  • font-family: Specifies the font family.

  • font-size: Defines the font size.

  • font-weight: Sets the font weight.

  • font-style: Specifies the font style.

html

index.html

css

index.css

copy

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 6
Wir sind enttäuscht, dass etwas schief gelaufen ist. Was ist passiert?
some-alt