1
00:00:02,170 --> 00:00:05,920
Before we dive deeper into responsive design though,

2
00:00:05,920 --> 00:00:08,510
let's have a look at what we will build.

3
00:00:08,510 --> 00:00:10,800
Because, no big surprise here,

4
00:00:10,800 --> 00:00:13,840
this course is all about becoming a web developer.

5
00:00:13,840 --> 00:00:15,300
Therefore, we'll again

6
00:00:15,300 --> 00:00:20,300
create a brand new website for this responsive module.

7
00:00:20,420 --> 00:00:23,390
This is the website that we're going to build.

8
00:00:23,390 --> 00:00:26,130
It's not a very spectacular website,

9
00:00:26,130 --> 00:00:30,040
but it's a website which greatly allows us to dive into

10
00:00:30,040 --> 00:00:31,493
responsive design.

11
00:00:32,520 --> 00:00:34,890
The website contains typical elements

12
00:00:34,890 --> 00:00:37,080
we learned about in this course so far,

13
00:00:37,080 --> 00:00:38,920
so we have a page logo here.

14
00:00:38,920 --> 00:00:41,040
We have two navigation items,

15
00:00:41,040 --> 00:00:44,070
which don't lead to dedicated pages here.

16
00:00:44,070 --> 00:00:46,810
You could of course implement this, if you want to.

17
00:00:46,810 --> 00:00:48,770
We have a headline right here,

18
00:00:48,770 --> 00:00:51,910
and we have two cards with different meals.

19
00:00:51,910 --> 00:00:55,630
These two buttons, which would allow us to add our menu,

20
00:00:55,630 --> 00:01:00,270
our meal, to our shopping cart are of course not working at

21
00:01:00,270 --> 00:01:03,090
the moment, as this would require JavaScript,

22
00:01:03,090 --> 00:01:05,593
which we'll explore soon in this course.

23
00:01:06,870 --> 00:01:08,790
However, I just increased the zoom again,

24
00:01:08,790 --> 00:01:12,350
to make it better visible for you. However, if we now,

25
00:01:12,350 --> 00:01:15,203
again, access our developer tools,

26
00:01:17,270 --> 00:01:21,670
then you will see why this side is a bit more advanced when

27
00:01:21,670 --> 00:01:24,983
comparing it to the sites we built so far in this course.

28
00:01:26,000 --> 00:01:28,800
Because in the dev tools in the left border,

29
00:01:28,800 --> 00:01:29,740
so to say of these.

30
00:01:29,740 --> 00:01:32,710
So I'm referring to this line right here.

31
00:01:32,710 --> 00:01:36,630
If you click and hold the left mouse button to select this

32
00:01:36,630 --> 00:01:39,820
line, then you can play around with it.

33
00:01:39,820 --> 00:01:42,950
You see at the top here that you see the pixels,

34
00:01:42,950 --> 00:01:47,000
so the pixel width of the content of the website here,

35
00:01:47,000 --> 00:01:48,693
and we can change this width.

36
00:01:49,620 --> 00:01:52,960
If we increase it, you see not a lot is happening,

37
00:01:52,960 --> 00:01:54,810
but if we decrease the width,

38
00:01:54,810 --> 00:01:58,520
which would be typical for smaller devices like tablets or

39
00:01:58,520 --> 00:02:00,950
smartphones, which have well,

40
00:02:00,950 --> 00:02:04,850
a smaller width when comparing it to big desktop screens.

41
00:02:04,850 --> 00:02:06,880
So if we decrease that width here,

42
00:02:06,880 --> 00:02:10,240
you see here that the text already changes to two lines,

43
00:02:10,240 --> 00:02:12,100
but that's not the big thing.

44
00:02:12,100 --> 00:02:15,210
But if we further decrease the width here,

45
00:02:15,210 --> 00:02:18,310
you'll see that we have a very big change.

46
00:02:18,310 --> 00:02:19,820
The entire layout,

47
00:02:19,820 --> 00:02:23,280
the entire look of the website, and the information being

48
00:02:23,280 --> 00:02:26,823
displayed changes on a certain breaking point here.

49
00:02:28,010 --> 00:02:31,710
Let's go right here again to see what changes.

50
00:02:31,710 --> 00:02:36,710
First, the font size of our headline decreases.

51
00:02:36,880 --> 00:02:41,540
Second, the layout of our cart items changes.

52
00:02:41,540 --> 00:02:42,910
On the desktop version,

53
00:02:42,910 --> 00:02:46,660
we have a horizontal layout, left to right.

54
00:02:46,660 --> 00:02:49,340
On the mobile version, which would be the

55
00:02:49,340 --> 00:02:51,030
version displayed right here,

56
00:02:51,030 --> 00:02:52,530
we have a vertical layout.

57
00:02:52,530 --> 00:02:56,250
So a layout you typically know when browsing websites from

58
00:02:56,250 --> 00:02:57,710
your mobile phone. They could,

59
00:02:57,710 --> 00:03:01,700
of course also scroll down here to see the second cart item.

60
00:03:01,700 --> 00:03:05,720
Besides this, we also have preferred very important change.

61
00:03:05,720 --> 00:03:09,110
Our navigation items disappeared.

62
00:03:09,110 --> 00:03:10,400
In the desktop version,

63
00:03:10,400 --> 00:03:13,360
we had the "browse meals" and the "my orders"

64
00:03:13,360 --> 00:03:14,713
navigation items.

65
00:03:16,590 --> 00:03:19,490
In the mobile version, these disappear.

66
00:03:19,490 --> 00:03:23,790
Instead, we have this strange looking icon here.

67
00:03:23,790 --> 00:03:28,540
The icon is actually built completely in CSS and HTML,

68
00:03:28,540 --> 00:03:32,300
and it's called a so-called "hamburger icon",

69
00:03:32,300 --> 00:03:33,133
due to its look,

70
00:03:33,133 --> 00:03:36,050
it kind of looks like a hamburger, you could say.

71
00:03:36,050 --> 00:03:39,460
And if we click onto this icon though,

72
00:03:39,460 --> 00:03:42,480
you see that the navigation items are back,

73
00:03:42,480 --> 00:03:45,520
but in a completely different layout.

74
00:03:45,520 --> 00:03:49,090
This has nothing to do with the desktop layout we had so far

75
00:03:49,090 --> 00:03:51,240
where these items were placed up here.

76
00:03:51,240 --> 00:03:54,950
This is basically an entire new page you could say.

77
00:03:54,950 --> 00:03:57,480
And if we increase the width of the page again,

78
00:03:57,480 --> 00:03:59,290
you'll see it disappears.

79
00:03:59,290 --> 00:04:00,593
If you make it smaller.

80
00:04:01,560 --> 00:04:04,750
Now, a lot smaller as the zoom level decreased.

81
00:04:04,750 --> 00:04:07,770
You can see it right here. We have the mobile look again.

82
00:04:07,770 --> 00:04:11,500
And if you click right here, then the new menu,

83
00:04:11,500 --> 00:04:14,140
the new navigation menu disappears.

84
00:04:14,140 --> 00:04:16,250
And if you have course closed or dev tools,

85
00:04:16,250 --> 00:04:19,040
we are back in the desktop view.

86
00:04:19,040 --> 00:04:21,769
So, this is the page we're going to build.

87
00:04:21,769 --> 00:04:25,230
And as you see, this page contains all core concepts

88
00:04:25,230 --> 00:04:28,580
we need to make sure our website looks good on both

89
00:04:28,580 --> 00:04:32,290
mobile devices and desktop devices.

90
00:04:32,290 --> 00:04:34,050
So this is the introduction.

91
00:04:34,050 --> 00:04:37,053
Let's dive into the project now as a next step.

