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

Challenge: User Action Pseudo-ClassesChallenge: User Action Pseudo-Classes

Task

We have the company website. In the header section of the web page, there is some contact information. The task is to add the color change on hovering the links with the mouse in the header section.

Steps:

  1. Select all a elements with the header-link class name.
  2. Set the appropriate pseudo-class.
  3. Apply the color property with the blue value.
html

index.html

css

index.css

js

index.js

  • 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.
html

index.html

css

index.css

js

index.js

Все було зрозуміло?

Секція 1. Розділ 7

Challenge: User Action Pseudo-ClassesChallenge: User Action Pseudo-Classes

Task

We have the company website. In the header section of the web page, there is some contact information. The task is to add the color change on hovering the links with the mouse in the header section.

Steps:

  1. Select all a elements with the header-link class name.
  2. Set the appropriate pseudo-class.
  3. Apply the color property with the blue value.
html

index.html

css

index.css

js

index.js

  • 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.
html

index.html

css

index.css

js

index.js

Все було зрозуміло?

Секція 1. Розділ 7
some-alt