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 trialMustafa Khan
6,224 PointsWhere did I mess up?
I pretty much copied guil's code in desperation, the navigation elements and the name are not being displayed correctly. My code: https://teamtreehouse.com/workspaces/34530422#
Mustafa Khan
6,224 Pointsokay, here you go: https://w.trhou.se/ekjjq7bvvz
1 Answer
Steven Parker
231,269 PointsI don't see any significant differences between what your workspace displays and the video.
But I did spot a few minor differences in the CSS:
- on line 118 you have "
margin-right
" but the video shows "margin-left
" - on line 123 you have "
margin: auto;
" but the video shows "margin: 0 auto;
" - on line 125 the comment is missing the "
/*
" to begin and "*/
" to end it
Mustafa Khan
6,224 Pointsyes, but can you explain why the navigation menu is not being displayed correctly? I fixed the things you mentioned.
Steven Parker
231,269 PointsIt looks like the video. I suspect this video ends with the construction in an intermediate state which will be completed in the next video(s).
Mustafa Khan
6,224 PointsIt turned out that I didn't apply the clear fix class to the div wrapper of the header and navigation.
Jennifer Nordell
Treehouse TeacherJennifer Nordell
Treehouse TeacherHi there! Unfortunately, the link to your workspace that you've provided is private to you. We cannot open it. There is, however, a way for you to share your workspace with us so that we can fork it and have a look around. On the upper right hand side of your workspace you'll find an icon that looks like a camera. This will allow you to take a snapshot of the workspace. Link that back to us and we'll take a look!