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.
How do you code the black menu bar into your resume?
In the home of your website, there is a black bar at the top of the screen that:
#1. Contains blue links on the right that turn white when you hover over them.
#2. Has your name in the left.
#3.Stays at the top of your screen even when you scroll down.
#4. Has no white spacing in the top, left, or right.
I am trying to code it into my resume page, but I can only figure out step 1. Does anyone know the code for the other steps?
Steven Parker218,654 Points
Here's a few hints:
- perhaps you could get the name on the left similarly to how you got the links over to the right
- the position property can be used to make something stay at one place on the screen
- spacing is generally due to settings of the margin and padding properties
You can duplicate the index.html page and remove tags inside the <body> tag. Then start building the resume between the <body> and </body>. You may have to adjust some of the <a> tags in the navigation bar, but using the index.html page as a template is pretty common. :) Since the link to the style.css file is still there, you don't need to create a new css file for the elements of the page, such as the nav bar. Hope this helps! :)