All language subtitles for 104 First Design and Development Steps (Step 4).en_US

af Afrikaans
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian Download
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:01,160 --> 00:00:04,560 All right, so now that steps one, two, 2 00:00:04,560 --> 00:00:06,650 and three are completed, 3 00:00:06,650 --> 00:00:10,360 it's time to finally start with step number four, 4 00:00:10,360 --> 00:00:13,000 which is going to be the actual design 5 00:00:13,000 --> 00:00:15,090 and development phase. 6 00:00:15,090 --> 00:00:16,600 And so in this lecture, 7 00:00:16,600 --> 00:00:20,350 we are going to do some quick setup in order to be able 8 00:00:20,350 --> 00:00:23,823 to start working on the actual website very soon. 9 00:00:25,380 --> 00:00:28,490 So back in VS Code, as always, 10 00:00:28,490 --> 00:00:31,303 we need to start by creating our files. 11 00:00:32,380 --> 00:00:34,803 So index.html. 12 00:00:35,860 --> 00:00:37,670 And, for some reason, it created it 13 00:00:37,670 --> 00:00:42,063 inside of the index folder, but we want it outside. 14 00:00:44,620 --> 00:00:47,090 Okay, so if we now close this, 15 00:00:47,090 --> 00:00:51,000 then the index.html is clearly outside. 16 00:00:51,000 --> 00:00:56,000 And then we also want style.css. 17 00:00:56,720 --> 00:00:59,673 And for some reason it keeps creating them inside, 18 00:01:01,130 --> 00:01:04,023 but we can easily fix that, right? 19 00:01:04,970 --> 00:01:08,520 Now, here, we will once again scaffold our HTML, 20 00:01:08,520 --> 00:01:11,580 but of course, if you want to practice a little bit more, 21 00:01:11,580 --> 00:01:14,180 you can also write it by hand. 22 00:01:14,180 --> 00:01:16,400 But I will just use exclamation mark 23 00:01:16,400 --> 00:01:18,533 and then enter, like this. 24 00:01:19,660 --> 00:01:22,372 And then, starting with the title here, 25 00:01:22,372 --> 00:01:25,580 Omnifood, for now. 26 00:01:25,580 --> 00:01:28,690 A little bit later, we might add something there, 27 00:01:28,690 --> 00:01:30,470 but, for now, let's call it just Omnifood. 28 00:01:30,470 --> 00:01:34,583 And then I also want to connect the style.css file. 29 00:01:35,530 --> 00:01:37,683 So remember that is link. 30 00:01:38,530 --> 00:01:42,030 Then here, we need to specify this rel property. 31 00:01:42,030 --> 00:01:43,830 Set it to stylesheet, 32 00:01:44,860 --> 00:01:47,010 and then the actual path. 33 00:01:47,010 --> 00:01:49,170 So that's the href. 34 00:01:49,170 --> 00:01:53,260 And actually I want to put this style here 35 00:01:53,260 --> 00:01:56,440 in a separate CSS folder this time. 36 00:01:56,440 --> 00:01:59,650 So we're gonna have multiple CSS files 37 00:01:59,650 --> 00:02:01,370 and multiple image files, 38 00:02:01,370 --> 00:02:04,513 and so I want to create a folder for each of them. 39 00:02:06,220 --> 00:02:07,330 Okay. 40 00:02:07,330 --> 00:02:10,310 So actually let's take everything out of the content folder 41 00:02:10,310 --> 00:02:12,110 and then delete it because here 42 00:02:12,110 --> 00:02:13,960 we already have the image folder 43 00:02:13,960 --> 00:02:16,300 that we will want to be using. 44 00:02:16,300 --> 00:02:20,630 So let's take that out and, why not? The content as well. 45 00:02:20,630 --> 00:02:23,150 And then this folder is empty, 46 00:02:23,150 --> 00:02:25,513 and so we no longer need that, actually. 47 00:02:27,420 --> 00:02:28,660 All right. 48 00:02:28,660 --> 00:02:32,443 So we have our image folder as we always had, 49 00:02:33,370 --> 00:02:37,430 and then let's create a new folder here called css. 50 00:02:37,430 --> 00:02:40,180 And later, we will then also have another folder 51 00:02:40,180 --> 00:02:43,683 for JavaScript, but that will be a lot later. 52 00:02:44,650 --> 00:02:45,890 Okay. 53 00:02:45,890 --> 00:02:48,620 But anyway, now here, we need to specify the path 54 00:02:48,620 --> 00:02:50,600 to that file, as always. 55 00:02:50,600 --> 00:02:55,600 And so that is at css/style.css, right? 56 00:02:58,720 --> 00:03:00,360 Give it a first save 57 00:03:00,360 --> 00:03:04,313 and that then formats the HTML here, as always. 58 00:03:05,880 --> 00:03:10,640 And then here, let's just add the h1 element. 59 00:03:10,640 --> 00:03:14,810 And here, we can immediately grab the content from here. 60 00:03:14,810 --> 00:03:15,643 Why not? 61 00:03:17,130 --> 00:03:20,500 So the headline of Omnifood is this one. 62 00:03:20,500 --> 00:03:22,703 So let's actually used that right away. 63 00:03:25,750 --> 00:03:26,583 So, 64 00:03:27,690 --> 00:03:28,870 okay. 65 00:03:28,870 --> 00:03:32,510 And so for now, that's actually enough for the HTML. 66 00:03:32,510 --> 00:03:37,423 Let's just make sure that it works by going live right away. 67 00:03:38,340 --> 00:03:40,930 Now that opened it in a wrong browser for me, 68 00:03:40,930 --> 00:03:44,180 but I can also manually do it. 69 00:03:44,180 --> 00:03:45,933 So 127.0.0.1, 70 00:03:48,509 --> 00:03:52,600 and then it is port 5500 I think. 71 00:03:52,600 --> 00:03:54,350 And so here we go. 72 00:03:54,350 --> 00:03:57,220 So that is our HTML right there. 73 00:03:57,220 --> 00:04:00,670 And now let's go actually to our CSS. 74 00:04:00,670 --> 00:04:02,860 And here, as always, I'm going to start 75 00:04:02,860 --> 00:04:04,363 with the global reset. 76 00:04:05,300 --> 00:04:10,210 So selecting everything and then setting padding and margin 77 00:04:11,760 --> 00:04:15,150 to 0 in order to override the default styles 78 00:04:15,150 --> 00:04:17,060 of all browsers, 79 00:04:17,060 --> 00:04:20,230 and then also activating the border-box setting 80 00:04:20,230 --> 00:04:22,340 in our box model. 81 00:04:22,340 --> 00:04:23,173 Okay. 82 00:04:24,360 --> 00:04:27,590 So that is our global reset, as always. 83 00:04:27,590 --> 00:04:31,450 And just to see if the CSS is correctly connected, 84 00:04:31,450 --> 00:04:34,960 now all the paddings and margins should be gone here. 85 00:04:34,960 --> 00:04:36,533 And indeed they are. 86 00:04:37,400 --> 00:04:41,520 And so now let's also start adding some simple styles 87 00:04:41,520 --> 00:04:43,293 to the body. 88 00:04:48,890 --> 00:04:51,710 And I will start by setting the font-family simply 89 00:04:51,710 --> 00:04:53,043 to sans-serif. 90 00:04:54,190 --> 00:04:56,210 That's because, for now, I don't want 91 00:04:56,210 --> 00:04:58,910 to choose any specific typeface yet. 92 00:04:58,910 --> 00:05:01,910 I think it's best that we first build a little bit 93 00:05:01,910 --> 00:05:04,670 of the page at least before we can figure out 94 00:05:04,670 --> 00:05:08,260 which typeface is the best fit for our design 95 00:05:08,260 --> 00:05:10,890 and for our website personality. 96 00:05:10,890 --> 00:05:14,520 Then here, I also like to reset the line-height 97 00:05:14,520 --> 00:05:17,490 on the entire page to 1 98 00:05:17,490 --> 00:05:20,363 and set the font-weight to 400. 99 00:05:22,870 --> 00:05:27,577 And finally let's set a text color to 555. 100 00:05:29,971 --> 00:05:33,430 So this is a great color that I like to use a lot. 101 00:05:33,430 --> 00:05:35,520 So basically one of those colors 102 00:05:35,520 --> 00:05:40,520 which have only three numbers, so like 333 or 555, 103 00:05:41,000 --> 00:05:44,970 which is, remember, the same as this, right? 104 00:05:44,970 --> 00:05:47,400 So I find these quite easy to work with, 105 00:05:47,400 --> 00:05:49,920 and so usually I reach for one of them 106 00:05:49,920 --> 00:05:52,310 as my base gray color. 107 00:05:52,310 --> 00:05:53,600 Okay. 108 00:05:53,600 --> 00:05:55,740 Let's just check it out here. 109 00:05:55,740 --> 00:05:59,203 And indeed our CSS is already working. 110 00:06:00,060 --> 00:06:04,860 And so this is basically our initial CSS setup here 111 00:06:04,860 --> 00:06:05,693 in the code. 112 00:06:07,050 --> 00:06:09,020 So as I said, that's the code. 113 00:06:09,020 --> 00:06:12,870 And now let's think a little bit about the design. 114 00:06:12,870 --> 00:06:16,690 So basically taking our very first design decisions here 115 00:06:16,690 --> 00:06:20,850 and setting up some small design systems as well. 116 00:06:20,850 --> 00:06:24,710 So here, I will add a big comment block, and then in there, 117 00:06:24,710 --> 00:06:27,320 I will basically write all the design settings 118 00:06:27,320 --> 00:06:30,400 that we want for our overall design here. 119 00:06:30,400 --> 00:06:32,713 And let's start with the typography. 120 00:06:36,360 --> 00:06:40,450 So TYPOGRAPHY SYSTEM. 121 00:06:40,450 --> 00:06:43,350 Now here, I want to use those font sizes 122 00:06:43,350 --> 00:06:47,420 that we have been using in the previous section as well, 123 00:06:47,420 --> 00:06:51,523 so let's actually open one of the files from that. 124 00:06:53,320 --> 00:06:55,320 So just to copy that, 125 00:06:55,320 --> 00:06:59,823 so it is on my Desktop, then here in Components, 126 00:07:01,330 --> 00:07:03,653 and then let's just get the very first one. 127 00:07:04,766 --> 00:07:08,163 And so here we have these two systems, 128 00:07:09,000 --> 00:07:12,803 so just copy them and paste them here. 129 00:07:14,930 --> 00:07:17,043 Spacing, that's for later. 130 00:07:24,010 --> 00:07:26,723 So this is for the font sizes in pixels. 131 00:07:27,920 --> 00:07:28,970 Okay. 132 00:07:28,970 --> 00:07:31,960 But then the SPACING SYSTEM comes a bit later 133 00:07:32,980 --> 00:07:34,520 because, for typography, 134 00:07:34,520 --> 00:07:37,160 we can actually define some more, 135 00:07:37,160 --> 00:07:39,250 basically defaults here. 136 00:07:39,250 --> 00:07:42,640 So we can also specify default font weights 137 00:07:42,640 --> 00:07:46,123 and also default line heights. 138 00:07:48,370 --> 00:07:49,670 So not really defaults, 139 00:07:49,670 --> 00:07:53,380 but more of commonly used settings that we used. 140 00:07:53,380 --> 00:07:54,860 So I like to do this here, 141 00:07:54,860 --> 00:07:57,720 so specifying kind of a design system, 142 00:07:57,720 --> 00:07:59,640 so that then, whenever I need something, 143 00:07:59,640 --> 00:08:03,130 I just have to go here to the top of my CSS file 144 00:08:03,130 --> 00:08:04,740 and then reach it from there. 145 00:08:04,740 --> 00:08:06,320 And so that will help us a lot 146 00:08:06,320 --> 00:08:10,370 in maintaining a consistent design across the entire page. 147 00:08:10,370 --> 00:08:14,000 So for example, I can say that the default line-height 148 00:08:14,000 --> 00:08:16,780 is 1, which is what we set here. 149 00:08:16,780 --> 00:08:18,870 And then as we keep growing the page, 150 00:08:18,870 --> 00:08:21,183 we will then keep adding more and more here. 151 00:08:22,230 --> 00:08:23,650 Okay? 152 00:08:23,650 --> 00:08:26,520 So we move that, just add a dash here 153 00:08:26,520 --> 00:08:28,603 just to make it a bit more visible. 154 00:08:30,660 --> 00:08:32,063 And of course, here too. 155 00:08:32,980 --> 00:08:37,620 Okay, so typography is our first design ingredient. 156 00:08:37,620 --> 00:08:38,720 Remember that. 157 00:08:38,720 --> 00:08:41,023 And so let's now go through all of them here. 158 00:08:42,000 --> 00:08:45,040 So the second one, remember, is colors 159 00:08:45,040 --> 00:08:47,433 and we already have our primary color. 160 00:08:50,040 --> 00:08:52,280 So that's here in the content. 161 00:08:52,280 --> 00:08:53,113 Right. 162 00:08:55,340 --> 00:08:56,810 Okay. 163 00:08:56,810 --> 00:09:00,970 And then, remember, we also need to generate some tints 164 00:09:00,970 --> 00:09:05,170 and some shades and we might also need some accent colors. 165 00:09:05,170 --> 00:09:07,550 So again, all of that can be found 166 00:09:07,550 --> 00:09:10,293 in the web design lecture on colors. 167 00:09:12,830 --> 00:09:17,510 So tint, which is basically darker versions, 168 00:09:17,510 --> 00:09:20,800 and shades, which are lighter versions. 169 00:09:20,800 --> 00:09:23,933 Or, maybe it's the other way around. I never know. 170 00:09:24,900 --> 00:09:28,380 Then we will also at some point define some accents 171 00:09:28,380 --> 00:09:31,670 and of course, our grays. 172 00:09:31,670 --> 00:09:34,763 And the grays, we already have, at least one of them, 173 00:09:35,760 --> 00:09:37,870 so this 555, 174 00:09:37,870 --> 00:09:40,653 but over time, we will keep adding more of them. 175 00:09:44,250 --> 00:09:46,603 So let's just add some dash here again. 176 00:09:50,350 --> 00:09:54,240 Okay. And again, we will add these here over time. 177 00:09:54,240 --> 00:09:57,510 So I'm not yet going to generate all the possible tints 178 00:09:57,510 --> 00:10:00,840 that I might need and all the possible shades 179 00:10:00,840 --> 00:10:03,680 because, well, I might not need them then, 180 00:10:03,680 --> 00:10:07,060 and so I will simply generate them as we go. 181 00:10:07,060 --> 00:10:07,893 Okay. 182 00:10:07,893 --> 00:10:12,320 So just in order to save some time and the same, of course, 183 00:10:12,320 --> 00:10:15,480 about the accents and the gray colors. 184 00:10:15,480 --> 00:10:19,300 The next design ingredient is images, but for that, 185 00:10:19,300 --> 00:10:21,980 we cannot really set up any system, 186 00:10:21,980 --> 00:10:25,560 so there's no values to define for images. 187 00:10:25,560 --> 00:10:28,590 However, I can show you where I actually got 188 00:10:28,590 --> 00:10:30,770 all of these images here. 189 00:10:30,770 --> 00:10:34,670 So, remember, there is all of these different images, 190 00:10:34,670 --> 00:10:39,300 so like these customers, these ones here in the gallery, 191 00:10:39,300 --> 00:10:42,160 and, well, really a ton of images. 192 00:10:42,160 --> 00:10:45,640 And of course I needed to get them from somewhere 193 00:10:45,640 --> 00:10:49,470 and my main source that I already mentioned also before 194 00:10:49,470 --> 00:10:53,500 is unsplash.com. 195 00:10:53,500 --> 00:10:57,000 And as always, the link is on my resources page. 196 00:10:57,000 --> 00:10:59,210 And so then it's, of course, very easy. 197 00:10:59,210 --> 00:11:03,413 All you have to do is, for example, to search for food. 198 00:11:06,350 --> 00:11:08,720 And then whatever you need, 199 00:11:08,720 --> 00:11:11,530 you can just click here on this download arrow, 200 00:11:11,530 --> 00:11:13,900 and this will then immediately download the image 201 00:11:13,900 --> 00:11:15,780 and you can then use it for free, 202 00:11:15,780 --> 00:11:19,840 without any restrictions, wherever you want. 203 00:11:19,840 --> 00:11:22,150 So I think this one here is actually 204 00:11:22,150 --> 00:11:23,853 on the gallery or something, 205 00:11:24,730 --> 00:11:29,540 and you will see many of these images here actually 206 00:11:30,790 --> 00:11:35,483 on our webpage, while the restaurant does not really exist. 207 00:11:37,460 --> 00:11:40,890 But again, there is really a ton of high quality images 208 00:11:40,890 --> 00:11:42,793 that are really, really nice. 209 00:11:43,660 --> 00:11:45,370 So this one here, remember, 210 00:11:45,370 --> 00:11:47,310 was actually the background image 211 00:11:47,310 --> 00:11:50,370 for the header that we built in the last section 212 00:11:50,370 --> 00:11:54,880 and it is also very important in this project 213 00:11:54,880 --> 00:11:58,810 because here we have this hero image that I created. 214 00:11:58,810 --> 00:12:01,180 So it's made out of these three images 215 00:12:01,180 --> 00:12:04,900 and one of them is, again, this beautiful image here 216 00:12:04,900 --> 00:12:07,663 of this woman eating some food. 217 00:12:11,200 --> 00:12:15,460 Okay. And so, yeah, this is how I got these images. 218 00:12:15,460 --> 00:12:17,800 Then as for the customers, 219 00:12:17,800 --> 00:12:22,070 there is a very nice page, or website, 220 00:12:22,070 --> 00:12:24,203 which is called UI Faces. 221 00:12:26,500 --> 00:12:27,870 So this one here. 222 00:12:27,870 --> 00:12:30,960 And here, you can download all of these faces 223 00:12:30,960 --> 00:12:33,630 basically completely for free 224 00:12:33,630 --> 00:12:36,470 and, just as the images from Unsplash, 225 00:12:36,470 --> 00:12:38,720 you can just use them wherever you want 226 00:12:38,720 --> 00:12:41,510 and free of charge, of course. 227 00:12:41,510 --> 00:12:43,770 So that's where I got those. 228 00:12:43,770 --> 00:12:46,190 And I think that's it. 229 00:12:46,190 --> 00:12:47,920 These other ones. 230 00:12:47,920 --> 00:12:49,470 So these app screens here, 231 00:12:49,470 --> 00:12:52,860 I actually designed them completely on my own, 232 00:12:52,860 --> 00:12:56,840 basically based on the design of our site here. 233 00:12:56,840 --> 00:13:00,120 Next up, there would be icons, but again, 234 00:13:00,120 --> 00:13:02,890 there's not really anything to specify there. 235 00:13:02,890 --> 00:13:05,693 So let's go to the next one, which is shadows. 236 00:13:06,790 --> 00:13:10,520 So here, we might, at some point, define some rules 237 00:13:10,520 --> 00:13:15,210 for shadows or basically some standard that we want 238 00:13:15,210 --> 00:13:17,140 to repeat over and over again 239 00:13:17,140 --> 00:13:20,290 because, just with all the other design ingredients, 240 00:13:20,290 --> 00:13:23,000 it looks a lot better if we stay consistent 241 00:13:23,000 --> 00:13:25,970 throughout the design and don't use, for example, 242 00:13:25,970 --> 00:13:27,770 two very similar shadows, 243 00:13:27,770 --> 00:13:30,350 but which are not exactly the same. 244 00:13:30,350 --> 00:13:32,360 So for now, there's nothing here, 245 00:13:32,360 --> 00:13:34,830 but a bit later, there might. 246 00:13:34,830 --> 00:13:37,070 Then the same for BORDER-RADIUS, 247 00:13:37,070 --> 00:13:38,683 which is the next ingredient. 248 00:13:46,450 --> 00:13:50,780 So here we will also, a little bit later, specify something. 249 00:13:50,780 --> 00:13:55,200 And finally, our less design ingredient that matters here 250 00:13:55,200 --> 00:13:56,663 is WHITESPACE. 251 00:13:59,582 --> 00:14:02,613 And so here, we now have this SPACING SYSTEM. 252 00:14:05,230 --> 00:14:07,613 So that system that we are going to use. 253 00:14:09,340 --> 00:14:13,460 And well, I guess that's actually it. 254 00:14:13,460 --> 00:14:18,330 So that's the only thing we can specify here for whitespace. 255 00:14:18,330 --> 00:14:21,520 And so I think that's it for now. 256 00:14:21,520 --> 00:14:25,470 And again, we will keep filling this up as we go. 257 00:14:25,470 --> 00:14:27,820 Here, we can actually also say that the default 258 00:14:28,680 --> 00:14:31,880 that we already set before is 400, 259 00:14:31,880 --> 00:14:35,470 and then we will, again, keep adding more. 260 00:14:35,470 --> 00:14:37,870 All right. Very nice. 261 00:14:37,870 --> 00:14:41,470 So with this, we have basically everything in place 262 00:14:41,470 --> 00:14:45,720 to finally start coding and start building this project. 263 00:14:45,720 --> 00:14:47,970 Now, just one more thing that we need to learn about 264 00:14:47,970 --> 00:14:51,770 before is a little bit about responsive design. 265 00:14:51,770 --> 00:14:54,960 That's because the responsive web design principles need 266 00:14:54,960 --> 00:14:59,400 to be applied from the very, very beginning of a project. 267 00:14:59,400 --> 00:15:02,760 And up until this point, we never cared about this, 268 00:15:02,760 --> 00:15:05,980 but now we are building a real world project. 269 00:15:05,980 --> 00:15:09,010 And so, then, of course, we need to make it responsive 270 00:15:09,010 --> 00:15:13,050 from the very beginning, make it adapt to all screen sizes. 271 00:15:13,050 --> 00:15:16,500 And so, therefore, let's now quickly learn the basics 272 00:15:16,500 --> 00:15:18,823 of responsive web design. 19936

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.