Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Practice Grid Template Areas!
You have completed Practice Grid Template Areas!
Preview
Follow along to see how to lay out the web page using CSS Grid layout.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
and then try to recreate it yourself.
0:00
The goal was to get your
layout to look like this
0:00
using the image grid-template-areas.png
as a reference.
0:03
Now I'll show you how
I created the layout.
0:08
You can also reference my code when
you download the project files.
0:10
First, I'll need to
target each grid item and
0:13
assign a custom name to
each of the grid areas.
0:17
In index.html, I see that there are seven
items inside the grid container,
0:21
so I'll start with the header.
0:26
In layout.css, I'll target header and
assign it the grid-area, head.
0:29
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up