Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Challenge: Apply User Action Pseudo-Classes | Getting Started with CSS
CSS Fundamentals

bookChallenge: Apply User Action Pseudo-Classes

Task

We have a company website with contact information in the header section. Your task is to implement a color change when a user hovers over the links in the header section.

Steps:

  1. Select all a elements with the header-link class.
  2. Use the appropriate pseudo-class for the hover effect.
  3. Apply the color property with the value blue when the links are hovered.
index.html

index.html

index.css

index.css

copy
  • Use the . and the class name to select an element by its class name.
  • Use the :hover pseudo-class to react on mouse cursor hover.
index.html

index.html

index.css

index.css

copy

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 7

Chieda ad AI

expand

Chieda ad AI

ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

Awesome!

Completion rate improved to 2.5

bookChallenge: Apply User Action Pseudo-Classes

Scorri per mostrare il menu

Task

We have a company website with contact information in the header section. Your task is to implement a color change when a user hovers over the links in the header section.

Steps:

  1. Select all a elements with the header-link class.
  2. Use the appropriate pseudo-class for the hover effect.
  3. Apply the color property with the value blue when the links are hovered.
index.html

index.html

index.css

index.css

copy
  • Use the . and the class name to select an element by its class name.
  • Use the :hover pseudo-class to react on mouse cursor hover.
index.html

index.html

index.css

index.css

copy

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 7
some-alt