Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS

navigation in header or seperate in grid css

Hey guys! i have an assignment in css grid and im just wondering if i should put my navigation as a separate part of my "grid-template areas" or inside my header area?

I want them right next to eachother but im not sure how to make a split in half grid in my header :( My solution right now is to seperate them like this "h h h n n n n n n" n = navigation h = header (my header is a logo)

Gari Merrifield
Gari Merrifield
9,558 Points

Not sure if this will help you or not, but you can nest a grid inside of another grid.

1 Answer

Kevin Korte
Kevin Korte
28,109 Points

Hello,

Can you share with us the code you've tried, or have started?