All language subtitles for 119 Building the Testimonials Section - Part 1.en_US

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
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
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian Download
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:01,410 --> 00:00:04,880 Welcome back to our next project section, 2 00:00:04,880 --> 00:00:08,433 which is the very exciting testimonial section. 3 00:00:09,860 --> 00:00:12,740 And here remember we had already decided 4 00:00:12,740 --> 00:00:15,040 in the very beginning of the project 5 00:00:15,040 --> 00:00:17,300 that we were gonna put the customers 6 00:00:17,300 --> 00:00:20,800 and the photo gallery side-by-side. 7 00:00:20,800 --> 00:00:23,020 So what we're gonna do here is 8 00:00:23,020 --> 00:00:25,170 a very different section this time, 9 00:00:25,170 --> 00:00:28,190 which is going to go all the way from the left side 10 00:00:28,190 --> 00:00:30,580 to the right side of the browser. 11 00:00:30,580 --> 00:00:32,950 So not having a centered container, 12 00:00:32,950 --> 00:00:37,550 but instead filling up basically the entire available width. 13 00:00:37,550 --> 00:00:41,700 And so that is what we call a full bleed section. 14 00:00:41,700 --> 00:00:45,540 So again, we will have the gallery on the right side 15 00:00:45,540 --> 00:00:48,560 and on the left side, we will have this 16 00:00:48,560 --> 00:00:51,624 two by two grid of customer testimonials, 17 00:00:51,624 --> 00:00:54,560 just like in this first design example 18 00:00:54,560 --> 00:00:58,470 that we have here on the right side, okay? 19 00:00:58,470 --> 00:01:01,350 So this is going to be really exciting because 20 00:01:01,350 --> 00:01:04,500 it's gonna be quite different from the other sections. 21 00:01:04,500 --> 00:01:06,263 And so let's get to work. 22 00:01:08,090 --> 00:01:11,193 All right, and as always, 23 00:01:12,390 --> 00:01:16,643 let's add a new section right after the previous one. 24 00:01:18,940 --> 00:01:22,000 And I'm calling this one, as you can guess 25 00:01:22,000 --> 00:01:25,503 the section testimonials. 26 00:01:27,980 --> 00:01:31,480 All right, and now, as I just said before, 27 00:01:31,480 --> 00:01:34,480 here we are not going to use a container. 28 00:01:34,480 --> 00:01:37,590 So that container element that we created before 29 00:01:37,590 --> 00:01:40,500 to center the context in the page. 30 00:01:40,500 --> 00:01:43,650 So instead we will basically have two boxes, 31 00:01:43,650 --> 00:01:47,577 one for the testimonials and one for the gallery. 32 00:01:47,577 --> 00:01:50,003 So let's do that here. 33 00:01:57,560 --> 00:02:01,280 So let's write that just here 34 00:02:04,470 --> 00:02:08,093 and then another one for the gallery. 35 00:02:11,267 --> 00:02:13,590 All right, and so these two, 36 00:02:13,590 --> 00:02:17,050 we want them to be side by side, right? 37 00:02:17,050 --> 00:02:21,280 And so what we can do here is to use our grid class 38 00:02:21,280 --> 00:02:24,023 right here on this section, right? 39 00:02:24,860 --> 00:02:29,860 So grid and grid, two columns. 40 00:02:30,010 --> 00:02:32,053 So let's just quickly check that out. 41 00:02:34,160 --> 00:02:37,860 And I need to reload the browser here manually. 42 00:02:37,860 --> 00:02:40,140 So sometimes that is necessary. 43 00:02:40,140 --> 00:02:42,800 And indeed now here we have the testimonials 44 00:02:42,800 --> 00:02:45,860 all the way to the left side and the gallery 45 00:02:45,860 --> 00:02:48,160 all the way to the right side. 46 00:02:48,160 --> 00:02:52,700 Great, so let's add some padding here to the section for now 47 00:02:52,700 --> 00:02:54,680 to give ourselves some more space 48 00:02:54,680 --> 00:02:58,110 and then we will simply start by filling up the content 49 00:02:58,110 --> 00:02:59,563 for the testimonials. 50 00:03:02,910 --> 00:03:04,490 So I will, again, copy this 51 00:03:12,988 --> 00:03:17,988 and then section like this. 52 00:03:20,900 --> 00:03:25,900 Okay, so let's actually reach into our content file 53 00:03:26,390 --> 00:03:28,803 and get the testimonials from there. 54 00:03:29,960 --> 00:03:32,483 So, yeah, right here. 55 00:03:33,730 --> 00:03:37,163 So this is the first one here from Dave Bryson. 56 00:03:39,070 --> 00:03:44,070 So let's paste that here and now we need to mark this up. 57 00:03:46,510 --> 00:03:48,770 So we want a customer photo. 58 00:03:48,770 --> 00:03:52,070 We then want this text here in another element. 59 00:03:52,070 --> 00:03:54,370 And then below that is the name. 60 00:03:54,370 --> 00:03:56,630 So Dave Bryson here. 61 00:03:56,630 --> 00:03:59,570 And so we need some kind of a container element 62 00:03:59,570 --> 00:04:01,673 for all of this, right? 63 00:04:02,540 --> 00:04:05,840 Now we could of course use a simple div element, 64 00:04:05,840 --> 00:04:08,200 but here actually there is another element 65 00:04:08,200 --> 00:04:12,990 which makes a bit more sense, which is the figure element. 66 00:04:12,990 --> 00:04:17,210 And I'm not sure if we have used the figure element before, 67 00:04:17,210 --> 00:04:18,730 but in any way, 68 00:04:18,730 --> 00:04:23,100 we can use it to represent some self-contained content 69 00:04:23,100 --> 00:04:25,830 and which sometimes has a caption. 70 00:04:25,830 --> 00:04:30,290 So this is perfect for things like diagrams or photos 71 00:04:30,290 --> 00:04:31,990 or code listings, 72 00:04:31,990 --> 00:04:35,160 or really anything that can have a caption 73 00:04:35,160 --> 00:04:37,460 and that is self-contained. 74 00:04:37,460 --> 00:04:41,330 And a testimonial like the one we are about to write here, 75 00:04:41,330 --> 00:04:44,273 I think qualifies quite nicely for that. 76 00:04:45,860 --> 00:04:48,390 So you will see the figure element being used 77 00:04:48,390 --> 00:04:51,093 for this kind of thing all the time, okay? 78 00:04:55,010 --> 00:04:57,310 So let's call this one, the testimonial 79 00:05:01,570 --> 00:05:06,570 and then, well, first let's start with the image, 80 00:05:07,330 --> 00:05:12,000 actually this is our image, 81 00:05:12,000 --> 00:05:15,440 then it's probably in the customer's folder 82 00:05:16,300 --> 00:05:20,920 and there we have actually a named photo for each of them. 83 00:05:20,920 --> 00:05:22,290 So this is Dave. 84 00:05:22,290 --> 00:05:26,777 And so the photo is probably Dave.JPEG, right? 85 00:05:29,700 --> 00:05:33,200 And now for the actual testimonial content, 86 00:05:33,200 --> 00:05:35,613 we can use the block quote element. 87 00:05:36,530 --> 00:05:39,060 So a block quote, as the name says 88 00:05:39,060 --> 00:05:41,880 is basically for representing quotes. 89 00:05:41,880 --> 00:05:44,480 So things that someone else said. 90 00:05:44,480 --> 00:05:47,400 And so a testimonial is exactly that. 91 00:05:47,400 --> 00:05:51,800 And the same is true for something like a product review, 92 00:05:51,800 --> 00:05:55,910 or even to quote someone in the context of an article 93 00:05:55,910 --> 00:05:57,983 or a blog post example. 94 00:06:00,140 --> 00:06:03,063 So block quote is perfect in this case, 95 00:06:06,740 --> 00:06:09,763 let's call it a testimonial text, 96 00:06:11,630 --> 00:06:13,163 and then put that right there. 97 00:06:14,670 --> 00:06:17,453 Here we forgot the class right here. 98 00:06:21,980 --> 00:06:26,133 So testimonial image, and also the alt text. 99 00:06:28,170 --> 00:06:32,893 Let's say photo of customer Dave Bryson, okay? 100 00:06:38,860 --> 00:06:42,610 And now we just need to mark up the name here and for that 101 00:06:42,610 --> 00:06:46,830 we can use a simple paragraph or a span element. 102 00:06:46,830 --> 00:06:48,403 So that doesn't really matter. 103 00:06:49,500 --> 00:06:51,300 I'm just gonna use a paragraph here. 104 00:06:52,150 --> 00:06:56,383 So testimonial name, let's say, 105 00:06:58,210 --> 00:07:02,473 and then let's add his name right there. 106 00:07:05,080 --> 00:07:08,550 And then it's also common to like add a dash 107 00:07:08,550 --> 00:07:10,300 in front of the name. 108 00:07:10,300 --> 00:07:13,750 So for that we can use just another HTML entity 109 00:07:14,770 --> 00:07:16,833 and this one is called Mdash. 110 00:07:19,310 --> 00:07:23,518 So if we hover over that, you see there it is. 111 00:07:23,518 --> 00:07:25,900 So instead of just using this, 112 00:07:25,900 --> 00:07:27,423 which wouldn't look so great, 113 00:07:28,270 --> 00:07:31,253 that the Mdash is exactly what we're looking for. 114 00:07:32,300 --> 00:07:36,503 So checking that out, here we go. 115 00:07:37,870 --> 00:07:40,690 So the image is always a bit too big, 116 00:07:40,690 --> 00:07:43,900 but this time it's not so bad. 117 00:07:43,900 --> 00:07:45,300 So we can actually, 118 00:07:45,300 --> 00:07:48,210 I think start adding the rest of the content here 119 00:07:48,210 --> 00:07:50,703 before having to adjust the CSS first. 120 00:07:52,170 --> 00:07:53,620 So let's copy all of this 121 00:07:56,630 --> 00:07:59,363 and put them all one after another. 122 00:08:01,700 --> 00:08:06,700 So we have four testimonials, so four code blocks here. 123 00:08:07,630 --> 00:08:12,630 And the next one is, oh, I need to go back. 124 00:08:13,690 --> 00:08:15,480 Let's copy all this. 125 00:08:15,480 --> 00:08:17,480 And I will immediately paste it actually 126 00:08:18,940 --> 00:08:22,050 into this block quote element 127 00:08:23,870 --> 00:08:26,617 and then we just remove the name here, also here 128 00:08:33,670 --> 00:08:38,670 and then, here we go. 129 00:08:40,410 --> 00:08:41,367 So let's see. 130 00:08:45,250 --> 00:08:48,960 Indeed, now the second one is great 131 00:08:48,960 --> 00:08:52,920 and now let's just replace the third and the fourth one. 132 00:08:52,920 --> 00:08:55,900 And so this part of filling up the content 133 00:08:55,900 --> 00:08:57,503 is always a bit boring, 134 00:08:59,040 --> 00:09:02,680 but well, the content is the most important thing 135 00:09:02,680 --> 00:09:04,293 so we have to do it, of course. 136 00:09:08,420 --> 00:09:09,710 So here and here 137 00:09:16,080 --> 00:09:17,330 and just one last time 138 00:09:30,547 --> 00:09:34,464 and just replacing the name here one last time. 139 00:09:39,280 --> 00:09:41,133 Okay, great. 140 00:09:42,580 --> 00:09:47,343 So let's check that out and there we go. 141 00:09:48,590 --> 00:09:52,700 So now what we want to do next is to put these four here 142 00:09:52,700 --> 00:09:55,563 into a two by two grid, right? 143 00:09:56,420 --> 00:09:58,650 So that's easy. 144 00:09:58,650 --> 00:10:00,320 So let's do that. 145 00:10:00,320 --> 00:10:05,177 And for that, we need to select these testimonials, 146 00:10:07,507 --> 00:10:11,260 which is basically the parent of these four. 147 00:10:11,260 --> 00:10:14,233 And so we will make this one here, our grid container. 148 00:10:15,110 --> 00:10:18,040 Now you might think that we could use, of course, 149 00:10:18,040 --> 00:10:21,120 the reusable grid that we created before. 150 00:10:21,120 --> 00:10:23,010 And indeed we could, 151 00:10:23,010 --> 00:10:27,150 but probably the spacing on that one is not ideal. 152 00:10:27,150 --> 00:10:29,000 So the gap that we used there, 153 00:10:29,000 --> 00:10:31,370 which makes sense for bigger layouts 154 00:10:31,370 --> 00:10:35,230 is probably too big for a smaller component like this one. 155 00:10:35,230 --> 00:10:39,193 And so here we simply create our own a new grid. 156 00:10:40,950 --> 00:10:44,050 So basically that reusable grid that we created 157 00:10:44,050 --> 00:10:47,863 is more for the overall page layout, all right? 158 00:10:48,718 --> 00:10:52,767 So grid, template columns, 1FR and 1FR 159 00:10:55,311 --> 00:10:58,223 and then let's create some smaller gap. 160 00:10:59,910 --> 00:11:04,910 So maybe 4.8rem that's always a good value to start with. 161 00:11:06,000 --> 00:11:10,203 And let's also make the image immediately a bit smaller. 162 00:11:12,710 --> 00:11:17,710 So testimonial image, and now this image, 163 00:11:18,010 --> 00:11:20,293 we actually don't want it to be flexible. 164 00:11:21,130 --> 00:11:24,543 So let me show you what would happen if we did. 165 00:11:25,580 --> 00:11:28,960 So setting a width of 100%, 166 00:11:28,960 --> 00:11:31,837 would make it probably way too big, right? 167 00:11:35,480 --> 00:11:37,970 So that's not what we're looking for. 168 00:11:37,970 --> 00:11:42,970 Indeed, it is nicely fluid like this, but again, yeah, 169 00:11:43,610 --> 00:11:46,563 these images here, we want them to be a fixed width. 170 00:11:51,980 --> 00:11:55,603 So let's say instead 64 pixels. 171 00:11:57,080 --> 00:11:59,890 And since these images are squared, 172 00:11:59,890 --> 00:12:02,390 the height will then automatically be figured out 173 00:12:02,390 --> 00:12:03,323 by the browser. 174 00:12:04,710 --> 00:12:06,850 We also want to make them round 175 00:12:06,850 --> 00:12:09,590 and again, since they are squared already, 176 00:12:09,590 --> 00:12:12,473 we can just use border radius 50%. 177 00:12:14,970 --> 00:12:19,820 Okay, nice, that starting to look a lot better. 178 00:12:19,820 --> 00:12:23,460 Now, there is no spacing here yet on the side here, 179 00:12:23,460 --> 00:12:25,850 but we will fix that a little bit later. 180 00:12:25,850 --> 00:12:27,850 So for now, let's just take care of here 181 00:12:27,850 --> 00:12:31,483 of the visual styling just of this text here. 182 00:12:32,500 --> 00:12:37,500 So very quickly we want the testimonial text, 183 00:12:42,980 --> 00:12:45,473 and the testimonial name. 184 00:12:51,140 --> 00:12:56,140 So here we're going to use our common 1.8rem again. 185 00:12:56,220 --> 00:12:58,900 So this is the one that we have been using all the time 186 00:12:58,900 --> 00:13:00,820 for all kinds of contents. 187 00:13:00,820 --> 00:13:03,460 And so it's nice to keep it consistent 188 00:13:03,460 --> 00:13:05,543 and the same for the line height as well. 189 00:13:06,810 --> 00:13:10,160 So again, using 1.8rem here, 190 00:13:10,160 --> 00:13:13,730 or actually of course not rem just 1.8, 191 00:13:13,730 --> 00:13:16,540 because this is basically a multiplier. 192 00:13:16,540 --> 00:13:21,290 So this will multiply the font size here by 1.8 193 00:13:21,290 --> 00:13:23,370 and that will then be the line height. 194 00:13:23,370 --> 00:13:24,203 Remember that? 195 00:13:25,400 --> 00:13:29,810 And then let's also add some margin here to the bottom 196 00:13:29,810 --> 00:13:32,380 and here we will not have a lot of space, 197 00:13:32,380 --> 00:13:35,603 so let's keep it small at 16 pixels. 198 00:13:36,530 --> 00:13:40,513 And of course we also need some space below the image. 199 00:13:42,750 --> 00:13:45,943 So margin bottom 1.2. 200 00:13:46,920 --> 00:13:49,540 So that's the previous step in our spacing system 201 00:13:50,910 --> 00:13:55,910 and then here, the name and here as for a visual hierarchy, 202 00:13:57,900 --> 00:14:02,420 this one is a lot less important, so let's make it smaller. 203 00:14:02,420 --> 00:14:07,420 Let's say 1.6rem and let's also make it even lighter. 204 00:14:10,050 --> 00:14:12,770 Now the main text is 555, 205 00:14:12,770 --> 00:14:16,286 and the darker text is 333, right? 206 00:14:16,286 --> 00:14:19,943 And so let's try for this one here, 777. 207 00:14:21,130 --> 00:14:23,540 And we will actually change this here in a minute 208 00:14:23,540 --> 00:14:26,510 because of the color contrast ratio. 209 00:14:26,510 --> 00:14:28,110 But for now, let's go with this. 210 00:14:29,560 --> 00:14:33,170 So let's check it out and beautiful. 211 00:14:33,170 --> 00:14:35,010 That looks really cool. 212 00:14:35,010 --> 00:14:39,580 Now let's actually just add the section heading here 213 00:14:39,580 --> 00:14:42,600 and that heading, we will actually do it right here 214 00:14:42,600 --> 00:14:45,423 inside of the testimonials container. 215 00:14:46,680 --> 00:14:49,040 So here, before these testimonials, 216 00:14:49,040 --> 00:14:52,533 we will have, our usual subheading and secondary heading. 217 00:14:53,640 --> 00:14:56,750 So let's go back and we can again, 218 00:14:56,750 --> 00:14:58,743 copy that from the previous section. 219 00:15:00,350 --> 00:15:03,413 So just this here, right here. 220 00:15:08,260 --> 00:15:10,520 And so, as I just said before, 221 00:15:10,520 --> 00:15:13,730 we want these headings to be basically before 222 00:15:13,730 --> 00:15:17,440 these testimonials here, right? 223 00:15:17,440 --> 00:15:19,120 So just like this, 224 00:15:19,120 --> 00:15:21,460 but then we don't want them to be centered 225 00:15:22,620 --> 00:15:26,330 and we don't want them to be inside of a container. 226 00:15:26,330 --> 00:15:31,200 So actually we don't need any of this here, right? 227 00:15:31,200 --> 00:15:33,623 But now we actually do have another problem. 228 00:15:34,800 --> 00:15:37,260 And let me illustrate that to you. 229 00:15:37,260 --> 00:15:39,500 And so here you can see it. 230 00:15:39,500 --> 00:15:42,730 So now remember how we made this entire section 231 00:15:42,730 --> 00:15:45,370 a grid container, right? 232 00:15:45,370 --> 00:15:48,530 And so now the subheading and the secondary heading here, 233 00:15:48,530 --> 00:15:52,570 they simply became grid items as well, right? 234 00:15:52,570 --> 00:15:54,840 But that's not what we want. 235 00:15:54,840 --> 00:15:56,650 We want them to be basically 236 00:15:56,650 --> 00:16:00,703 inside of this left side here of the section. 237 00:16:02,030 --> 00:16:05,670 So what we're going to do is to wrap all of this here 238 00:16:05,670 --> 00:16:09,460 into another new container element 239 00:16:09,460 --> 00:16:11,130 and with container I don't mean 240 00:16:11,130 --> 00:16:14,040 the container class that we created, 241 00:16:14,040 --> 00:16:16,653 but instead, I mean like a parent element. 242 00:16:18,460 --> 00:16:23,460 So let's call this the testimonials container 243 00:16:26,890 --> 00:16:31,853 and then let's put the closing tag here after all of this. 244 00:16:33,260 --> 00:16:35,520 So right here in the end, 245 00:16:35,520 --> 00:16:38,893 but of course before the gallery, okay? 246 00:16:45,730 --> 00:16:48,983 So here we need to, of course also change the text. 247 00:16:51,060 --> 00:16:55,723 So well here we actually didn't get any title. 248 00:16:57,360 --> 00:16:59,890 So the subheading is quite simple. 249 00:16:59,890 --> 00:17:01,923 It's simply gonna be testimonials, 250 00:17:05,430 --> 00:17:08,730 but in here we need to come up with another heading. 251 00:17:08,730 --> 00:17:11,410 And so the one that I decided to use here 252 00:17:11,410 --> 00:17:15,287 is a kind of a catchy one saying, 253 00:17:15,287 --> 00:17:20,287 "Once you try it, you can't go back." 254 00:17:21,400 --> 00:17:23,950 Which is basically the overall message 255 00:17:23,950 --> 00:17:27,923 that these four testimonials here give to the user, okay? 256 00:17:30,370 --> 00:17:34,323 So let's check it out and now it is fixed. 257 00:17:35,940 --> 00:17:38,143 So just to see here in the inspector, 258 00:17:39,130 --> 00:17:42,850 now this one here is a grid container, right? 259 00:17:42,850 --> 00:17:46,150 And it contains both the testimonials container 260 00:17:46,150 --> 00:17:51,010 and the gallery on the other side, right? 261 00:17:51,010 --> 00:17:54,150 And then inside of the testimonials, 262 00:17:54,150 --> 00:17:57,460 we have then again, another grid, which is for 263 00:17:57,460 --> 00:18:01,337 these four individual testimonial figures here, okay, great. 264 00:18:04,710 --> 00:18:07,380 And so that's great progress already. 265 00:18:07,380 --> 00:18:09,070 And so now in the next lecture, 266 00:18:09,070 --> 00:18:12,613 we will start building the gallery here on the right side. 19924

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