Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Well done!

You have completed (UPI) Chapter 1: HTML, CSS, and JavaScript Basics!

Instruction

Styling things based on state

Styling Elements Based on Their State in CSS

In addition to targeting HTML elements and classes, CSS allows you to style elements based on their state. This is particularly useful for interactive elements like links, where the appearance can change depending on user interaction, such as hovering over a link, visiting it, or focusing on it.

Understanding Link States in CSS

The ...