1
00:00:00,330 --> 00:00:07,710
The next category of the class is what we call location pseudo classes, and this one is normally used

2
00:00:07,710 --> 00:00:08,880
on links.

3
00:00:08,880 --> 00:00:09,790
So have a look.

4
00:00:09,810 --> 00:00:11,960
So now come back to my H.M..

5
00:00:12,000 --> 00:00:15,360
I think it's time for me to remove this one so I can maintain it.

6
00:00:15,400 --> 00:00:15,900
It's okay.

7
00:00:15,900 --> 00:00:16,860
Let's maintain it.

8
00:00:17,190 --> 00:00:20,280
Each one going to be as location.

9
00:00:20,550 --> 00:00:22,520
Pseudo classes.

10
00:00:22,530 --> 00:00:23,910
And there you go.

11
00:00:23,940 --> 00:00:28,610
For this one, let's have some small semantic with a link.

12
00:00:28,620 --> 00:00:37,440
So let's say that this link will point to my YouTube channel and going to be as a t http semicolon slash

13
00:00:37,440 --> 00:00:41,430
slash w w w dot youtube.

14
00:00:42,300 --> 00:00:48,030
YouTube.com slash C slash I never take.

15
00:00:49,150 --> 00:00:52,300
I know what tech does academic.

16
00:00:52,300 --> 00:00:53,880
You can use any link of your choice.

17
00:00:53,890 --> 00:00:56,220
Now, if I save it, not improve it harder.

18
00:00:56,230 --> 00:00:56,950
He has it.

19
00:00:57,700 --> 00:00:59,920
I mean, visit or follow me.

20
00:01:03,010 --> 00:01:04,390
On YouTube.

21
00:01:05,980 --> 00:01:06,880
That is it.

22
00:01:07,150 --> 00:01:07,780
Okay.

23
00:01:07,900 --> 00:01:14,020
Now you see that by default I have this color being applied to it like purple.

24
00:01:14,050 --> 00:01:14,680
Right.

25
00:01:14,860 --> 00:01:16,450
The next one is.

26
00:01:16,450 --> 00:01:20,070
Let me add another h1a link.

27
00:01:20,080 --> 00:01:20,740
Sorry.

28
00:01:20,780 --> 00:01:24,430
Then for this one I do not have anything inside.

29
00:01:24,430 --> 00:01:26,560
And then I'll enter here.

30
00:01:26,590 --> 00:01:27,190
Yes.

31
00:01:28,150 --> 00:01:29,000
Yes.

32
00:01:29,020 --> 00:01:31,210
Let's say that you have.

33
00:01:34,130 --> 00:01:35,060
Already.

34
00:01:36,290 --> 00:01:37,130
Visited.

35
00:01:38,630 --> 00:01:43,580
The last one with a link with nothing or no attributes.

36
00:01:44,220 --> 00:01:48,810
And then let's give it a title or text as no style.

37
00:01:50,440 --> 00:01:53,770
No style will be applied.

38
00:01:54,100 --> 00:01:54,660
Okay.

39
00:01:54,670 --> 00:01:59,280
So now with this one, let's explain the concept of location to the class.

40
00:01:59,290 --> 00:02:00,670
Let's have some learning break.

41
00:02:01,210 --> 00:02:02,080
We are.

42
00:02:03,200 --> 00:02:06,500
And then and B are more line breaks.

43
00:02:10,070 --> 00:02:10,400
Okay.

44
00:02:10,400 --> 00:02:11,390
Good, good.

45
00:02:11,390 --> 00:02:15,620
So let's talk about the first one as what you call link.

46
00:02:16,100 --> 00:02:22,390
Link simply means that it matches any link that have not yet been visited.

47
00:02:22,400 --> 00:02:27,600
So any link that hasn't been visited, I want to add a CSS class to it.

48
00:02:27,620 --> 00:02:34,880
When I say visited, it means when you click on the the link, meaning that you have visited that particular

49
00:02:34,880 --> 00:02:35,390
link.

50
00:02:35,390 --> 00:02:41,720
So when it is displayed without being visited, I want to add a of class to it.

51
00:02:41,720 --> 00:02:49,160
So here a and then provide link let give it a color of say blue.

52
00:02:49,700 --> 00:02:59,270
But if I save it for me, I will not see the effect because I have already click on this link, meaning

53
00:02:59,270 --> 00:03:05,330
I have visited this link so I cannot have this class being applied to it.

54
00:03:05,330 --> 00:03:14,720
So we have another attribute called any link and that one, it matches an element if the element would

55
00:03:14,720 --> 00:03:22,970
match either link or visited, meaning that whether it has been visited or not visited, that class

56
00:03:22,970 --> 00:03:25,340
can have the CSS effect on that.

57
00:03:25,340 --> 00:03:26,240
So have a look.

58
00:03:26,240 --> 00:03:37,040
So A and then any link, any link then for this one I can give it a color of say red.

59
00:03:37,190 --> 00:03:46,730
Now we see that now is that changed to red, meaning whether it has been visited or not, this any link

60
00:03:46,730 --> 00:03:53,690
will be applied and when it's actually visited because this one tells me what I mean.

61
00:03:53,690 --> 00:03:54,170
Visited.

62
00:03:54,170 --> 00:03:59,180
So here a and then we say semicolon visited.

63
00:04:02,320 --> 00:04:07,960
Let's give it a class of say what color?

64
00:04:07,990 --> 00:04:09,180
Let's give it a crack.

65
00:04:09,190 --> 00:04:09,910
This one.

66
00:04:09,940 --> 00:04:10,480
You see that?

67
00:04:10,480 --> 00:04:13,340
It means that this link has been visited.

68
00:04:13,360 --> 00:04:15,310
That's why I have this color.

69
00:04:15,730 --> 00:04:18,300
Let's make it more pop up.

70
00:04:18,310 --> 00:04:19,610
So purple is okay?

71
00:04:19,630 --> 00:04:20,279
Yes.

72
00:04:20,290 --> 00:04:21,160
As does this.

73
00:04:21,160 --> 00:04:24,580
What you call the pseudo classes.

