1
00:00:00,520 --> 00:00:04,350
The class elector works very similarly to the idea selector.

2
00:00:04,720 --> 00:00:10,390
If you've forgotten the difference between an I.D. in class please refer back to the relevant lesson

3
00:00:10,480 --> 00:00:15,860
in the CSF portion of this course to place an action on a class first.

4
00:00:16,090 --> 00:00:23,450
Let's amend our I.D. and change it to a class to do that we're just going to replace the word I.D. with

5
00:00:23,450 --> 00:00:30,730
class we leave the class name as is next.

6
00:00:30,750 --> 00:00:39,000
We just need to change the pound sign in front of our I.D. selector to a period and that converts it

7
00:00:39,000 --> 00:00:43,710
into a class selector and that's all there is to it.

8
00:00:43,710 --> 00:00:56,890
We can now save the file and it should do the exact same thing as it did in the previous exercise.

9
00:00:57,040 --> 00:01:05,260
And as you can see it hides the heading in this time the heading is referred to using a class selector

10
00:01:05,320 --> 00:01:06,940
rather than an I.D. selector.
