1
00:00:02,270 --> 00:00:06,200
Let's dive into these optional lectures.

2
00:00:06,200 --> 00:00:09,040
In case you missed the last text lecture,

3
00:00:09,040 --> 00:00:12,030
please make sure to go back to this lecture

4
00:00:12,030 --> 00:00:15,190
and learn more about these optional lectures.

5
00:00:15,190 --> 00:00:16,300
In short words,

6
00:00:16,300 --> 00:00:20,700
these lectures are just here to create the actual website,

7
00:00:20,700 --> 00:00:24,790
HTML and the CSS code by applying concepts

8
00:00:24,790 --> 00:00:27,750
we learned already throughout the course.

9
00:00:27,750 --> 00:00:31,290
It has nothing to do with the responsive part though.

10
00:00:31,290 --> 00:00:34,800
So no new content, no new concepts

11
00:00:34,800 --> 00:00:36,770
will be explained right here.

12
00:00:36,770 --> 00:00:38,450
So if you want to follow along,

13
00:00:38,450 --> 00:00:41,500
and practice creating websites once again,

14
00:00:41,500 --> 00:00:44,760
then you're very welcome to follow along these lectures.

15
00:00:44,760 --> 00:00:48,180
If you directly want to skip to the responsive part,

16
00:00:48,180 --> 00:00:49,670
then, as I said,

17
00:00:49,670 --> 00:00:51,770
please go back to the text lecture

18
00:00:51,770 --> 00:00:54,563
and find out more about where to continue.

19
00:00:55,710 --> 00:00:57,100
With this out of the way,

20
00:00:57,100 --> 00:01:01,460
we are back on the finished website, because as we know,

21
00:01:01,460 --> 00:01:04,650
we typically look at the structure of the website

22
00:01:04,650 --> 00:01:08,003
that we want to build before we actually build it.

23
00:01:09,970 --> 00:01:12,470
Now, what does this website look like

24
00:01:12,470 --> 00:01:15,510
from a semantical perspective?

25
00:01:15,510 --> 00:01:18,690
You probably saw that we have a quite familiar

26
00:01:18,690 --> 00:01:20,530
structure here on this website,

27
00:01:20,530 --> 00:01:23,800
when comparing it to previous projects created

28
00:01:23,800 --> 00:01:25,290
in this course.

29
00:01:25,290 --> 00:01:29,840
For example here, this black area, this top part here,

30
00:01:29,840 --> 00:01:32,580
which I can quickly highlight for you.

31
00:01:32,580 --> 00:01:35,540
This area is a typical header.

32
00:01:35,540 --> 00:01:39,380
So we use the semantic header element to indicate,

33
00:01:39,380 --> 00:01:42,050
well kind of the header part of our webpage,

34
00:01:42,050 --> 00:01:45,030
which contains the logo and to NAV items,

35
00:01:45,030 --> 00:01:48,500
I'll come back to these in a few seconds though.

36
00:01:48,500 --> 00:01:53,120
The second core part from a semantic point of view is,

37
00:01:53,120 --> 00:01:57,670
well, the area with the main content of this website.

38
00:01:57,670 --> 00:02:00,680
And main already describes what it is.

39
00:02:00,680 --> 00:02:02,403
This area right here.

40
00:02:03,290 --> 00:02:07,830
So actually the entire remaining website could be a perfect

41
00:02:07,830 --> 00:02:09,949
main element, right?

42
00:02:09,949 --> 00:02:13,923
Indicating that this is the core content of this website.

43
00:02:15,400 --> 00:02:18,880
With this rough structure in mind,

44
00:02:18,880 --> 00:02:20,430
we can now dive deeper

45
00:02:20,430 --> 00:02:23,363
into both the header and the main part.

46
00:02:24,260 --> 00:02:28,080
Inside our header we have two separate areas.

47
00:02:28,080 --> 00:02:32,380
One area is here to the left, the logo off that website.

48
00:02:32,380 --> 00:02:35,320
Again, this can simply be plain text,

49
00:02:35,320 --> 00:02:38,010
maybe created as an anchor tag

50
00:02:38,010 --> 00:02:41,490
to add a link which redirects us to this starting page,

51
00:02:41,490 --> 00:02:44,220
to this landing page when we click onto the logo,

52
00:02:44,220 --> 00:02:45,903
so also nothing new.

53
00:02:46,930 --> 00:02:48,870
In the right part of our header,

54
00:02:48,870 --> 00:02:51,430
we have two navigation items,

55
00:02:51,430 --> 00:02:54,723
which brings us already to the next semantic element here.

56
00:02:55,690 --> 00:02:59,650
This could be a perfect NAV element right here,

57
00:02:59,650 --> 00:03:01,960
holding these two links.

58
00:03:01,960 --> 00:03:04,670
Typically these NAV items are links,

59
00:03:04,670 --> 00:03:07,653
redirecting us to other parts of our website.

60
00:03:08,950 --> 00:03:13,370
Such links still are kind of related content, so to say,

61
00:03:13,370 --> 00:03:16,200
or content which can be grouped together,

62
00:03:16,200 --> 00:03:18,510
therefore following the logic learned

63
00:03:18,510 --> 00:03:19,780
throughout this course,

64
00:03:19,780 --> 00:03:23,580
we could simply say that our NAV element right here,

65
00:03:23,580 --> 00:03:25,700
holds an unordered list,

66
00:03:25,700 --> 00:03:29,770
because the order of these two elements here doesn't matter,

67
00:03:29,770 --> 00:03:32,470
which then contains two list items,

68
00:03:32,470 --> 00:03:34,100
which then hold the links,

69
00:03:34,100 --> 00:03:38,193
the anchor tags for the different pages of our website.

70
00:03:39,280 --> 00:03:41,263
So this would be the header part.

71
00:03:42,440 --> 00:03:43,700
For our main part,

72
00:03:43,700 --> 00:03:46,280
we can again find lots of elements

73
00:03:46,280 --> 00:03:49,160
we learned about so far in this course.

74
00:03:49,160 --> 00:03:53,150
The most obvious one is right here, our big headline,

75
00:03:53,150 --> 00:03:56,970
this would be a perfect H1 element actually,

76
00:03:56,970 --> 00:03:59,023
inside our main element.

77
00:03:59,990 --> 00:04:02,170
Besides this H1 element,

78
00:04:02,170 --> 00:04:04,880
our actual content of the page,

79
00:04:04,880 --> 00:04:06,350
so these two cards,

80
00:04:06,350 --> 00:04:09,990
would be a perfect example for a section.

81
00:04:09,990 --> 00:04:14,780
So this entire part here is a section holding the entire

82
00:04:14,780 --> 00:04:18,882
content of this page, meaning the cards in the end.

83
00:04:19,920 --> 00:04:24,310
As you know a section is, again, just a semantic element

84
00:04:24,310 --> 00:04:26,630
when it comes to the website structure,

85
00:04:26,630 --> 00:04:30,240
but that's not perfectly describe what is actually inside

86
00:04:30,240 --> 00:04:31,960
this element.

87
00:04:31,960 --> 00:04:32,980
Inside this element,

88
00:04:32,980 --> 00:04:35,870
we have the two cards as mentioned already,

89
00:04:35,870 --> 00:04:40,400
two cards as two NAV items appear are, again,

90
00:04:40,400 --> 00:04:42,710
content that is kind of related,

91
00:04:42,710 --> 00:04:44,970
or that can be grouped together.

92
00:04:44,970 --> 00:04:49,490
For this, we could also nest an unordered list

93
00:04:49,490 --> 00:04:51,920
into our section here.

94
00:04:51,920 --> 00:04:55,790
So the section element contains an unordered list

95
00:04:56,980 --> 00:05:00,410
which then contains two list item.

96
00:05:00,410 --> 00:05:03,533
The first item right here, first card.

97
00:05:05,050 --> 00:05:09,160
And the second item right there.

98
00:05:09,160 --> 00:05:10,810
Oops, like this.

99
00:05:10,810 --> 00:05:12,490
The second card

100
00:05:12,490 --> 00:05:17,313
So we have section on order list and two list items.

101
00:05:18,440 --> 00:05:22,783
We could now say that our list items simply hold an image,

102
00:05:24,255 --> 00:05:26,650
and an H2 element may be down here,

103
00:05:26,650 --> 00:05:29,650
and a link for example, or button down here,

104
00:05:29,650 --> 00:05:31,980
or we could be even more explicit

105
00:05:31,980 --> 00:05:33,950
from a semantic point of view,

106
00:05:33,950 --> 00:05:37,960
and say that the content of each single list item

107
00:05:37,960 --> 00:05:40,550
is actually an article.

108
00:05:40,550 --> 00:05:43,990
So each list item has a separate article.

109
00:05:43,990 --> 00:05:46,930
So the article of this first list item right here,

110
00:05:46,930 --> 00:05:49,073
would then contain the image.

111
00:05:50,150 --> 00:05:54,280
It has the first element and then two additional elements,

112
00:05:54,280 --> 00:05:56,860
the H2 element right here, and as I said,

113
00:05:56,860 --> 00:05:59,340
maybe a button, hyper reference,

114
00:05:59,340 --> 00:06:01,133
with this add to cart button.

115
00:06:02,000 --> 00:06:05,440
You could also nest these two elements into a different

116
00:06:05,440 --> 00:06:09,200
example, but this is something optional in the end,

117
00:06:09,200 --> 00:06:11,980
which just helps us again to add more structure.

118
00:06:11,980 --> 00:06:13,140
Same thing right here,

119
00:06:13,140 --> 00:06:17,130
we could use another article right there to wrap the content

120
00:06:17,130 --> 00:06:18,883
of the second list item.

121
00:06:20,220 --> 00:06:24,090
And this is actually the core HTML structure

122
00:06:24,090 --> 00:06:25,810
of this website.

123
00:06:25,810 --> 00:06:30,000
In the next lecture, we'll create this logic together.

124
00:06:30,000 --> 00:06:33,310
Now is of course a perfect time for you to practice

125
00:06:33,310 --> 00:06:34,960
this on your own.

126
00:06:34,960 --> 00:06:37,030
You now have the rough structure here,

127
00:06:37,030 --> 00:06:39,690
indicated with this orange boxes.

128
00:06:39,690 --> 00:06:42,490
And if you think back about what we learned so far,

129
00:06:42,490 --> 00:06:46,880
you are hopefully able to kind of recreate the structure.

130
00:06:46,880 --> 00:06:48,980
So good luck with this next challenge.

131
00:06:48,980 --> 00:06:50,460
See you in the next lecture.

132
00:06:50,460 --> 00:06:53,403
Where we'll see how we can solve this together.

