All language subtitles for 065 CHALLENGE 3.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
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

Original subtitles

So to wrap up this section,

here is coding challenge number three.

And I hope you're not yet tired of this example

because we will work with it one more time here.

So in the last challenge,

you built this layout here using flexbox.

And so as you might've guessed,

now it's time to build the exact same layout using CSS Grid.

Okay.

Now, when we built this with flexbox,

we wrapped these three columns here,

so these three elements into one container element,

and we then used flexbox only on that.

So a little bit, like we also did in our block post project,

right, but now I actually want you to go ahead

and remove that container div and basically use all of this,

so the entire element here, as the flex container.

Okay.

Now, another important hint that I need to give you

as you start designing your grid,

is that this here is going to be the first column.

So this image, right?

And so remember that this one here has a fixed width

of 250 pixels, and so probably you should adjust

your column to that.

Okay.

So just keep that in mind and yeah,

that's actually all you need to do for this challenge.

So the minor stuff that we did before with flexbox,

and what I mean is this here, and the colors,

so that I want you to leave intact.

So keep using flexbox for that and use CSS Grid only

for the over layout here,

which is actually two dimensional.

And so CSS grid is a good fit for that.

So as always, take all the time that you need,

and then meet me back here once you are done.

All right, and I am 100% sure that was fun for you.

So, as I said, let's start by removing this container here

together with its closing tag, of course.

Then let's go up here and remove all the traces of flexbox

in this layout.

And actually let's also get rid

of this stupid, clear fix class.

So here we have our container,

which right now is set to display flex.

So let's change that to display grid like this.

And then we also need to specify, of course, our columns.

So grid, template,

columns.

And then remember what I said about our first column.

So the first column we want this image here to be,

which has a width of 250.

So it's basically a fixed width that we want to maintain,

and so let's make our first column also exactly 250 pixels.

And then the other two columns,

we want them both to occupy at the exact same space

and they should also fill up all the remaining space.

And so therefore, we give both of them the width of one FR.

And so with this, let's wait for it.

Well, that didn't really do anything.

Oh, and of course,

because we just removed the container class.

and so this code should actually be on the product itself.

So where is that?

Ah, yeah, right here.

So let's see, ah, beautiful.

That looks a lot better.

Well, it's far from being perfect, but it's something.

Right?

So let's get rid of this container code,

which made us do this small mistake.

And now let's think about this title here

and also about the button,

which are not one of these three columns.

Right?

So what we want to happen to them is that they should

stretch all the way from the start to the end, right?

So the title is exactly this one, so product title.

And so here we say grid column one,

two minus one.

So that's a trick that hopefully, you know by now.

And so let's actually copy it and use the same thing

on the button.

So this one should do the exact same thing, right?

So button, let's add that there

and beautiful.

Now here, we still have some gaps that we do not want

and that's because we simply maintained

the get property that we had before from flexbox.

But instead it is now column gap and actually,

we're already done.

So that was a bit too easy, maybe.

So basically the main trick here

in order to remain this width was simply

to give this column the exact same size as the image,

so as we already had done before here.

And then everything else simply happened automatically.

So this row here basically also has the height of 250 pixels

because that is the height of the biggest content here.

So this image,

right?

And just to quickly inspect that.

So I always like to use this grid overlay

because it makes it so clear what exactly is happening.

And so again, we can see here that this entire row,

so all the elements here do have a width of,

or actually a height, of 250 and this one does not,

but that's simply because there is not enough content

in there.

But anyway, with this,

we actually now finished the topic of CSS Grid

and also this entire big section

on building layouts with CSS.

So this was quite a fundamental and important section

that sets the stage for the rest of the course.

And so I should warn you once again, that,

in order to advance to the rest of the course now,

you should make sure that you really understand

this material quite well.

So it doesn't need to be perfect.

You don't need to know all the properties by heart,

again, but you should at least understand

how these technologies that we learned work

and a little bit about how you can use them.

So take all the time that you need in order to practice

as much as you can,

and only then let's move on together to our next section,

which is actually one of the most exciting one,

I think, at least in this entire course.

So we're going to talk about web design

and learn a lot of different rules and guidelines

and we will actually also apply them immediately

to a new project.

So it's time to say goodbye to our block post project here

because in the next section,

we will start a new one.

But anyway, enough talk and I see you soon

in that next section.

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