Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialTerry Swagger
178 PointsCreate Content of Containers
How do I put the H1 inside the header? In the video I see that the h1 is higlighted but no instructions are given on how to put the h1 inside the header.
2 Answers
Holt Hunter
4,629 PointsHe just highlighted the <h1>Nick Pettit</h1>
and then used the cut command which deletes whatever is highlighted and copies it at the same time. Then he just pasted it in between the <header>
tags.
<header>
<h1>Nick Pettit</h1>
</header>
The cut command shortcut for Mac is: Command + X. The paste shortcut for Mac is: Command + V. If you are on Windows then instead of using the Command just use the Control key.
Hope this helps!
Sean T. Unwin
28,690 PointsThis is shown in the first 20 seconds of the video - from about 0:10 to :20.
Nick cuts the h1 and pastes it inside the header tag.
Myroslav Tkachenko
10,581 PointsMyroslav Tkachenko
10,581 PointsI suppose all you need is to nest a h1 element inside a header element: