How to Style a Modern Website (Part Three)
2K views
Feb 7, 2024
How to Style a Modern Website (Part Three)
View Video Transcript
0:00
Hello everybody, welcome to the final video on how to style a modern website
0:03
In this video we're going to be taking the store page that we've designed
0:07
earlier with HTML and style it to look exactly like this image on the right
0:11
here. Before we get started I want to say if you have been enjoying this series
0:15
let me know down in the comments which one of the CSS properties that we've used that you'd like me to cover more in depth in a future video. I'll make sure
0:22
to read through those, find the best and most popular ones, and cover those in
0:26
later videos to go more in depth so you guys have a better understanding of the
0:30
CSS properties that we're using to style these bandweb pages. Now let's get
0:34
started here by opening up our store HTML page using live server to see what
0:39
we have to get started with. Here we go, and the first thing that we need to do
0:43
is copy over the style sheet that we've already created and link it. So we'll
0:47
just copy this link here from the index page, paste it into our store page, so we
0:52
now have access to all the styles that we've already written and as you can see it's already taken effect. The next thing that we need to do is go into our header
0:59
here and we need to style our header to be exactly like our home page and our
1:03
about page as you can see here. So to do that let's just add the classes that
1:08
we've already created of main header and our nav and add the class of main nav
1:14
and then nav and there we go that looks good. Let's remove this HR and then
1:22
finally style our band name here with band name and band name large. We save
1:31
that and there we go we have the same header that we have on all of our other pages and luckily for us this is the only thing we need to do in our header
1:38
here. The next thing we can do is move on to this section and work on this music
1:42
cart section right here. We can get started here by styling our section with
1:47
the classes that we already have such as container and content section. If we
1:53
save that you'll see we get a little bit of padding from doing that and then we can also title our header here by using the class of section header which we've
2:01
already created. If we save that we now see that our header for our section is
2:05
properly styled and now we can move on to styling the actual items that are
2:10
going to be going into our cart. Let's first look at what we actually want the
2:14
style to look like over here in our image and we can see that we have the title of the item at the very top centered we have the image here and then
2:22
we have the price and the button to add it to the cart on the bottom that are
2:25
slightly inset from the sides of the album image. So in order to do that let's
2:31
first add a class to this div that wraps all of this content here and we're just
2:35
going to call this shop item and this is just going to represent a single item
2:42
that we have for sale in our shop and this will be usable in the music and the merch section. The next thing we can do is we can actually remove the divs that
2:50
wrap this album since we can use CSS in order to make album on its own line
2:55
without having to use a div to do that. So let's remove these divs here and then
3:00
we can also change the strong tag to a span since we know that the we want this
3:05
album one to be bolded but we don't actually want to put emphasis on it that
3:09
the strong tag does for things like screen readers we just want to style that in CSS. So let's add a class to this here we're just going to call this shop
3:18
item title since this is going to be the title and the name of our shop item that
3:23
we have here. Next we have our image which we are going to add a class to as
3:28
well we can just call this shop item image so that we can style our image to
3:36
resize it as we need and then lastly we have this bottom div here which are the
3:40
details of our shop item so we're just going to give this a class we'll call it
3:45
shop item details and inside of that we have the price of the shop item here so
3:51
we can give that the class of shop item price and then we have our button here
3:57
which we already have two classes for a button and button primary since this
4:03
will be the bluish colored primary button that we have and then we'll add another class to it of shop item button so we can style this button specifically
4:12
for the shop item as needed and if we save that go back to here you'll see
4:17
that some of the things in our page have already changed we got the blue button now and now we can actually go into our styles.css and start styling these
4:24
elements. The first thing that we're going to want to do is we're going to
4:28
want to give some margin around our shop items so they don't run up right next to
4:32
each other as you can see that these two items are so if we go in here we
4:37
select our shop item we can just give it a margin on all sides of 30 pixels if we
4:42
say that you now see that we have spacing on the sides bottom top of these shop items so they won't run right up against each other. The next thing we can
4:50
do is style this shop item title right here. To do that we'll just select the
4:55
shop item title and we'll get started styling it. The first thing we want to do
5:00
is we want to make it so that it is display block so that way it'll be on its own line as opposed to being in front of the image if the width of our
5:07
browser is large enough. The next thing we're gonna do is we want to make this
5:11
item 100% width so that it'll take up the entire width of the top of the image
5:16
and that way when we do text align center the text will actually center
5:21
itself above the image just like that. The next thing we can do is change the
5:26
actual size and color of the font so if we go in here we can make the font weight
5:29
bold so it is a little bit larger we can make the font size be 1.5 em so it is
5:36
also slightly bigger and then lastly add a color that is slightly darker
5:42
than our current color here. We save that you see that we now have a great title
5:46
but it's really close to our image so we'll just add a margin on the bottom
5:50
here we'll make that about 15 pixels and we save that and now we see it's spaced
5:55
out above our image which is perfect this is exactly what we want for our title. The next thing that we should tackle is the actual image of our shop
6:03
item. Right now this image is quite large and takes up almost the entire screen so
6:07
what we want to do is we just want to change that so that our shop item image is
6:12
slightly smaller than it is right now so we'll just give it a height of 250
6:17
pixels if we save that you'll see that our image shrinks down a little bit and
6:21
the width and the aspect ratio stays the same because by default the width
6:26
will be automatically as large as it needs to be for the image to be the same
6:31
aspect ratio when the height is 250 pixels this is because we didn't
6:35
actually set a width so it defaults to auto. Next we want to work on this
6:39
details row down here where we have the price and the button for adding it to our cart so let's go into here and we'll do shop item details to select the
6:49
wrapper that goes around our details for our price and our button here and we'll
6:55
make this display flex. There we go. The reason we're using display flex is
7:00
because we want to center these items vertically so that they are all within the same line as you can see this price is at the top of the line here and we
7:07
want it to line up with the text in our button so to do that we'll use align
7:11
items center in order to centrally align all of the items inside this container
7:16
and as you can see this looks perfect over here. The last thing we want to do
7:20
is add a little bit of padding of five pixels on the top bottom left and right
7:25
so that way it's slightly inset from the image and doesn't quite touch the image on the top. Next we can move on to styling the actual price of our shop
7:33
item so we'll do shop item price and this doesn't take many styles all we
7:38
want to do is make it so that the button is shoved all the way to the right side of the screen so we'll set flex grow to one so that our price will take up as
7:46
much width as possible if we save that you see that it pushes this add to cart
7:51
button all the way to the end of our container right here. Next thing we want
7:54
to do is change the color to make it slightly darker and that's really all
7:59
there is to styling the actual item of our shop but what we want to do is we
8:03
want to make it so these shop items will all flow around each other and as you can see our shop item doesn't quite fit within the space of the image it's taking
8:11
up way too much of the width of the screen. In order to fix this we can go
8:14
back to our HTML here and we can wrap all of these shop items inside of a div
8:19
and we'll just give it a class of shop items so if we go up here create a div
8:24
give it a class of shop items there we go we put the end of this div at the end
8:34
of all of our shop items for the music section right here and indent everything
8:40
so that it looks nice there we go and now we can actually select that shop
8:46
items div that we created and we can give it a display of flex and if we say
8:55
that you now see that everything's all in one line and it goes all the way way past the edge of our screen we do not want that we want these items to actually
9:02
wrap so we can use the property flex wrap in order to make these elements
9:06
wrap and we'll just set it to wrap so that if it goes past the edge of our screen they'll wrap down and as you can see now they all fill up in one column
9:14
instead of wrapping all the way to the end of the screen you'll also see by
9:18
changing flex our display to flex here for the shop items our image is the
9:23
total width of our item so that our add to cart button doesn't get put all the
9:27
way to end here in our album one title is properly centered above the image
9:31
this is exactly what we want the last thing we want to do is when our screen
9:35
is larger these items will be right next to each other like this and we want
9:40
to make sure that there's space between them in the middle left and right so
9:44
we'll use justify content space around which will put an even amount of space
9:49
on the left and right of every single element inside of our container and if
9:54
we save that we now see we have spacing between these elements and on the left and right of them that's exactly what we want for these shop items now all that's
10:02
left to do is to create all these different classes and add them to all
10:06
the different shop items which I'll do real quick here and there we go that's all the styles that we need for our shop item so now as
10:31
you can see as we scroll down all of our buttons and prices are styled correctly
10:35
everything is lined up properly and if we increase the size of our screen you'll
10:40
see that our items will line up next to each other which means that our site is actually responsive to different screen sizes this is because we use display flex
10:47
with the wrap property so that if it became too large for our screen it would
10:51
just wrap to the next line and if our screen was large enough to allow multiple items they would all stay on the same line this is perfect for our
10:58
situation since we didn't want our albums to only take up one line or be
11:02
too on a line when our screen was very small so now what we need to do is do
11:06
the same thing to our merch section that we've done to this section here by
11:10
wrapping our container in a shop items div and then adding all these different
11:14
classes down to these elements here I'll do that real quick now
11:28
and there we go I've added all the different styles to our merch section
11:44
since it's pretty much exactly the same as this music section here and as you
11:49
can see if we increase our screen size to be large enough there we go our items
11:59
will be side by side and if the screen size is not large enough they'll stack
12:03
on top of each other just like this and this is a perfect example of our flex
12:06
box working because as you can see these are side by side but these are not
12:10
because this coffee image is actually wider than these images up here so it
12:14
needs a wider screen size in order for them to stack side by side like this now
12:19
the last thing that we have to tackle is the actual cart down here which is going
12:23
to be the most complex part of this page so stick with me the first thing we need
12:28
to do is go back into our HTML and style the different HTML elements that we need
12:32
with classes so that we can style that to look exactly like the cart down here
12:37
so first let's take the classes that we know we already have for this section we
12:42
can do container we can do content section there we go we can also style
12:49
this header here with content or sorry section header there we go and now let's
12:56
get into the actual rows and headers of our cart right here we don't need these
13:00
less than and greater than signs anymore since we're going to be putting this spacing in using CSS and same with these strong tags we can replace these with
13:07
so let's do that real quick there we go and now let's start adding the actual
13:13
classes that we need the first thing that we want to do is style the wrapper
13:17
that goes around each of our rows and we're going to just give that a class of
13:21
cart row and then we want to do classes for our different items so we have our
13:27
item column our price column and our quantity column since we want all these
13:31
to line up and be the same width we'll give this a class and we're gonna give
13:37
that cart item and we'll also give it a class of cart header since this item is
13:43
in the header of our cart and then lastly we'll use the cart column class
13:48
which we're going to give to all of our different columns of our cart section so
13:53
that way we can do consistent styling between all of our columns without having to copy and paste it other places let's do a similar thing for the price there
14:00
we're going to give it a class of cart price class of cart header and a class
14:09
of cart column and then lastly same thing for quantity give it a class cart
14:16
quantity cart header and cart column and there we go that's everything we need to
14:24
do in order to style the header row of our cart let's start by styling that in
14:29
our style sheet right now the first thing we want to do is style the actual
14:32
headers of our columns so to do this we can use the class cart header to select
14:39
them and then set a font weight of bold since these are going to be bolded we
14:44
can set a font size to be slightly larger at 1.2 em and then lastly we want
14:50
to make the color darker so we'll just use this color that's slightly darker
14:53
and then we can move on to styling the actual individual columns themselves so
14:58
let's use the selector cart column here and get started styling that in here we
15:04
can use a border bottom we'll just use one pixel solid black border in order to
15:11
put a border on the bottom here but we also need space in between our elements
15:15
because if we go back here you'll notice that our borders are all running right
15:19
up against each other and this image is even overlaying over the top of our borders in order to get around this we're going to use some margins around
15:26
our elements here first let's use a margin on the right side in order to
15:32
space our columns away from each other and we're just going to use a margin of
15:36
1.5 em here we save that you'll see that now there's some space in between our
15:41
different columns we're also going to put a padding on the bottom so there's spacing between the column and the actual underline so we'll use padding
15:49
bottom here of 10 pixels and then we'll also put a margin on the top of our
15:54
columns in order to put a little bit of space between the top of our column and
15:58
everything above it so in this case the actual border of the element for this
16:02
column so we'll use margin top 10 pixels here and perfect now we need to actually
16:11
add these classes to the rest of our items inside of our columns to do this
16:15
let's go back to our store HTML and copy over all of these classes to these other
16:20
different elements here let's do this for the first one we'll copy over this
16:24
class cart row put it onto this div here we also have the cart item which is
16:30
going to include both the image here and this t-shirt name so we need to wrap
16:34
this inside of a div with the class of cart item so we say this is our item
16:40
column and they're also give it a cart column class since it's going to be a
16:44
column inside of our section here at the end of the div down at the bottom and
16:51
now if we save this you already see that we started getting borders on the bottom which is perfect next we can move over this cart price to be inside of this
16:58
span here since this is the price for item so we'll get of a class of cart
17:02
price and another class of cart column there we go we can also remove these
17:09
less than and greater than symbols here again since they're just used for spacing and then lastly we have our cart quantity which includes the input and
17:16
button down here so we can do a similar thing where we wrap them inside of a div
17:20
so if we paste this div here instead of cart item we want cart quantity and then
17:26
inside of that div we just want the input and the button and there we go now
17:32
we have everything we need but you'll see that they're spaced out so that they're all on their line of their own in order to get around this we want to
17:39
do is we want to use flexbox again in order to align these items properly so
17:43
if we go back to our styles.css let's style that cart row and we use display
17:49
flex in order to get all these items onto one line just like that that's
17:53
perfect we're now running into the problem though where our columns are
17:58
different widths as you can see this item column here is not wide enough to
18:01
support all the stuff in it the price column doesn't line up with the actual price here and the quantity is way off in order to fix this we'll use these
18:09
cart item class the cart price class and the cart quantity class that we
18:19
applied to our different columns in order to style the widths of these columns so they're all exactly the same for our item let's use a width of 45
18:30
there we go for the price we're going to use a width of 20% and lastly for the
18:37
quantity we'll use a width of 35% if you save that you'll see that now
18:43
everything lines up inside of the columns that they should be inside of you'll also notice that if you add these numbers up they equal 100% but if
18:51
you remember from our first video when we are styling actually our second video
18:55
I'm sorry when we were styling the homepage you'll notice that we had to not quite equal 100% when we were creating our widths this is because we
19:03
are using inline block elements to style those and inline block elements have a
19:07
spacing around them here we're using flexbox to align our items so we can
19:12
actually use widths that add up to exactly 100% because flexbox does not
19:16
add any spaces in between the items inside of its container this is why I
19:21
almost always use flexbox when laying out elements as opposed to inline block
19:25
flexbox is also great at aligning content inside of its box to be centered
19:30
horizontally or vertically which is a problem you'll notice on the right here where our content should be centered horizontally or vertically I'm sorry in
19:38
order to look like this so that all of our text is right in the center here but
19:43
over here our text is either at the bottom over here or the top over here so
19:47
to fix that we'll go back to our cart column here since if you remember all of
19:51
our content for each of these columns has this cart column class around it and
19:56
we'll make this display of flex and then we'll use align items center in order to
20:01
center our items along the vertical right here we save that you'll see that
20:06
now all of our items are vertically aligned exactly as they should be and this is looking really close to what we have over here minus all the coloring
20:14
that we need to do for our different elements in order to specifically select
20:18
the different elements we want to style let's go back into our HTML here and add
20:22
some classes to our different elements the first element that we'll want to
20:26
style here is a span tag with the title of the element so we'll do here is we'll
20:31
add a class we'll give it the title or the name of cart item title to specify
20:37
this is the title of our cart item we also want to add a class here to our image so we'll just use cart item image to specify this is the image of our cart
20:46
item our cart price is already styled which is perfect and then we just need
20:50
to add styles to our input and our button here so let's do class here we'll
20:55
just give it cart quantity input in order to specify this is the input for
21:00
cart quantity and then our button will have the class of button which we've
21:05
already defined button danger which will specify a red colored button and then
21:10
also cart quantity button in order to specify this is the button for our cart
21:16
quantity if we save that you'll notice nothing over here changes other than the
21:20
button styles are applied to this button so then we can go into our styles.css
21:24
and actually start selecting and styling these elements so let's go down here and
21:29
first let's style the actual title the t-shirt title here by using cart item
21:35
title selector and then inside of this title selector we'll put the color to be
21:40
a slightly darker color we'll give it a little bit of margin on the left side
21:44
so that it's not quite right up against our image here as you see so we'll just
21:48
use 0.5 em for this and then lastly we'll increase the font size slightly to
21:53
1.2 em if you save that you'll now see that our image is slightly pushed away
21:58
from our item name which is exactly what we want next thing we can style is the
22:03
actual image since our image is a little bit too large right here so we can go in
22:07
here cart item image we'll change the width to be 75 pixels so this image is
22:15
smaller if we save that you see our image is now smaller but the height is
22:18
too tall so we're going to give it a height of auto so the height will
22:22
automatically adjust to the width and if we save that it's now within perfect
22:27
aspect ratio that it was before and lastly we'll just add a slight rounding
22:32
of the corners here so we're just going to use border radius and we'll just say
22:39
for example 10 pixels if we save that now rounds the borders just a little bit
22:44
which adds a little bit of extra aesthetic to the image I think the next
22:48
thing we want to target is this price over here and we already have a cart price selector so let's just do it inside of that we'll increase the font
22:55
size slightly to be 1.2 em and we'll make the color slightly darker and if we
23:03
save that we'll see that the price now looks good and we really don't have to
23:07
do anything to that the last two elements to our input and our button are
23:12
going to take a little bit more work let's go down here and we can select that
23:16
button danger class that we added earlier to apply this reddish colored
23:20
button and we can start adding our classes to this the first thing that we
23:24
want to do is change the color of the text to be white and we want to give it
23:29
a background color here that is going to be a reddish color just paste that in
23:36
here that'll be a red color and if we save that we'll see that we now have
23:40
this reddish button we want to remove the border from the button give it a
23:45
slight border radius so that has rounded corners and then lastly increase it so
23:51
that it is a bold font here if we say that we now have a good-looking button
23:55
but we have no hover that happens when we go over the button so let's add our
24:00
hover effect using the hover selector here and we can just give it another
24:05
background color that is going to be slightly darker here and if we save that
24:13
and we hover we now get a slightly darker red color when we hover over the
24:16
button which is perfect the next thing we can select is our cart quantity input
24:23
which is going to take quite a few styles applied to it in order to give it
24:27
a bluish border and a smaller size the first thing we want to do for this is to
24:32
make it the same height as our button over here so to do that we'll use a
24:36
height of 34 pixels save that and we'll see that our input is now the same
24:40
height as our button we also want to change the width of this input to be
24:45
quite a bit smaller so we'll use a width of 50 pixels which should be
24:49
enough space in order to put our text and have these buttons for incrementing
24:53
and decrementing the number inside of here the next thing we want to do is we
24:58
want to give it a border radius so it has slightly rounded corners we'll get a
25:02
border radius of five pixels we'll give it also a border that's going to be one
25:07
pixel it's going to be solid colored and we want it to be the same exact color as
25:12
our buttons up here so we'll just copy that background color from our button
25:17
and we'll paste that in here now we say that you'll see that we now have the
25:22
border around our element which is great we need to give it a slightly darker
25:27
colored background which is just slightly darker than white and if we say
25:32
that you can see that we want to change our text color to be slightly darker and
25:38
then we want to make sure we have no padding around this element at all and
25:43
if we say that our input element is starting to come up together we just
25:46
want to move our text to the center and make it slightly bigger here so we'll do
25:51
text align center in order to center align our text we use a font size here of
25:57
1.2 em to make our font slightly larger and then lastly let's use some margin on
26:02
the right here 25 pixels in order to separate our input from our button and
26:07
if you save that you see that now this looks a lot like our mock-up over here
26:13
for our button and input and that's pretty much all we need to do in order
26:17
to style our row properly now I'm going to copy these styles from this row onto
26:22
the second row and see what we have from there and there we go that's all the styles that I'm going to need in order to make
26:46
this we can also remove the HR down here at the bottom and we can also remove
26:52
this cart quantity button class since we never actually ended up using that class
26:56
so let's remove that from both of our buttons here and save that and you'll
27:01
notice that everything still looks exactly the same you will notice however though that our underlined borders here don't quite look the same as over here
27:09
as you can see we have a solid border on the bottom for our last row and over
27:13
here we have a separated border on the bottom in order to do this we can use
27:18
the last child selector in our CSS in order to change the border for the last
27:22
child but the child element selector only works for the last child inside of
27:28
a container and right now these cart rows are not the last child of the
27:33
container that they're inside as you can see this div right here is the last child so let's wrap the rows of our cart here inside of a container and we'll
27:43
just give this container here a class of cart items move this div down to the
27:53
bottom here now we can indent all this so it looks pretty save it and you'll
27:59
notice nothing over here actually changes which is perfect but now when we select the last child of the cart row it'll be this cart row right here since
28:07
it's the last child of this cart items container so now let's do that inside of
28:11
our styles.css here first thing that we're going to do is select the cart
28:16
row last child of it and in here we're going to use that border bottom
28:23
property in order to set a one pixel solid black border that is going to go
28:29
across the entire row here if we save that you'll see that we now have one
28:33
solid border on the bottom but we still have our individual borders that we want
28:37
to remove to do that we'll again select the cart row last child but we'll also
28:43
select the cart columns that are children of that actual cart row and
28:49
we'll remove the border from them and if we save that you'll see that now we have
28:54
removed these individual borders and all we have is this solid lined border right
28:58
here on the bottom and that looks exactly the same as over here which is
29:02
perfect now all we need to do is style this total section and this
29:08
purchase button and we'll be done with this entire band website let's first
29:12
start by going into our HTML and adding some classes that we can select these
29:16
elements with first we'll use the class here of cart total that'll wrap our total
29:23
and the price of the total and then we'll also use class here of cart total
29:29
title this is going to be the title of total and then in here we have the class
29:36
of cart total price since this is the actual total price and then inside of
29:43
our styles.css we can select those so we have cart total which is the row that
29:48
wraps all of these we'll give that a text a line of end so that our text
29:54
will go to the end of the line here just as it does over here and then we can use
29:59
the selector for our cart total title in order to change the actual text here of
30:06
this the first thing we want to do is make the font weight bold since it is
30:11
bolded in our design so we'll change that to bold we'll increase the font size
30:15
to 1.5 em make the color black so it stands out and we'll give it a little
30:21
bit of margin on the right side is that way it'll be spaced away from our actual
30:26
price and we'll just say 20 pixels for that and if we save that that's starting
30:31
to look a lot like over here which is great last thing we need to do is just
30:35
style the actual total price so we can use cart total price to select that and
30:43
give it a color that's slightly darker and a slightly larger font size just so
30:49
it sticks out a little bit more of 1.1 em if you save that this now looks almost
30:55
exactly the same as this but you'll notice that our total is very scrunched
30:59
up here against the bar so we just want to add a little bit of margin so we'll
31:03
say margin on the top here from our cart total is going to be 10 pixels we'll
31:10
also add a margin on the right of 10 pixels so that our total isn't squished
31:15
right up against the edge of our screen and instead it has a little bit extra space and that looks great right there our cart section is now exactly as over
31:23
here the only thing we have left to do is this purchase button which will be fairly simple since most of the classes we have are already defined let's go
31:31
back to our store.html here we can remove this div that wraps this section
31:36
since we don't actually need that and inside of here we can add some classes
31:40
of button and button primary since this has the primary colored button and we'll
31:46
also add a class of button purchase since this is going to be a purchase
31:50
button and if we save that you'll see that we already have styled here from
31:53
the primary button class and if we go into our styles.css we can add some
31:58
styles specifically for this purchase button here the first thing we want to
32:03
do change the display to block here so that way we can center this button by
32:08
using auto margins so we'll use a margin here on the top we want 40 pixels to
32:14
space it away from our total section on the left we want auto margin on the
32:20
bottom we want 80 pixels and on the right we want another auto margin and if
32:25
we save that you'll see that our purchase button is now centered with
32:28
padding or margin I mean on the top and an even larger margin on the bottom to
32:32
put it away from the footer the last thing we want to do is increase the font
32:36
size to 1.75 em so that is a much larger button and there we go that looks great
32:42
and that's a huge button for them to click when they want to purchase their items now all we need to do is style the footer down here and this is going to be
32:50
very easy all we can do is go into our index page here we can copy our footer
32:55
since we know it's exactly the same and we can just paste that into our store
32:59
HTML and if we save that we now have the footer down here and it looks
33:03
amazing this looks exactly as the page over here and as we increase the size of
33:09
our browser our elements will flow naturally around each other you'll see
33:14
all of our columns stay lined up here no matter how large or how small our
33:18
browser is everything looks great and that's pretty much all there is to
33:23
creating this store page for our band website I really hope you guys were able
33:27
to learn something from this video where we walked through the store page of this website and I hope you also learned some things from the other
33:32
videos where we discovered how to do the home page and the about page for this
33:36
band website the next thing that we're going to tackle for this band website is
33:40
making this form down here interactive so increasing the quantity here for
33:44
example will increase the total down here removing will actually remove it
33:48
from the cart and clicking any of these add to cart buttons will actually add
33:52
elements to the cart down here this is going to be done through JavaScript which
33:56
is the third and final element that we need to learn in order to understand everything we need to know about front-end web development so thank you
34:04
guys very much for watching this video if you enjoyed it please leave a like and if you guys want to know anything more about those CSS properties as I
34:11
mentioned at the beginning of the video please leave a comment down below letting
34:15
me know which properties you want me to delve more in depth into and I'd love to do that in future videos thank you guys very much
#Music & Audio
#Online Goodies
#Online Media
#Skins
# Themes & Wallpapers