Classes and IDs
A class names a group of elements. An id names exactly one element. CSS and JavaScript use them to find elements.
Examplehtml
Several elements can share a class, but an id must be unique on the page. In CSS, .name selects a class and #name selects an id.
Quick check
How do you select the class `note` in CSS?
Finish the quick check (and any code exercise) to complete this lesson, or mark it done yourself.
Tip: use the left and right arrow keys to move between lessons.