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 trial

HTML How to Make a Website Adding Pages to a Website Add a New Page

Windows not opening properly

When I open index.html it opens but when I click on profile, it open about html but doesnt go back to index.html. when I open about.html, it opens index.html, if I click on about.html, it gives me an error and on the url it shows like it wants to open contacts.

http://port-80-w8oj7l45cp.treehouse-app.com/contact.html

https://w.trhou.se/wm8ksgyx45

Steven Parker
Steven Parker
231,275 Points

Thanks for the snapshot — it makes it much easier to spot the problem! :+1:

1 Answer

Steven Parker
Steven Parker
231,275 Points

:point_right: The navigation items have overlapping padding, making it hard to click on the correct one.

The navigation items shouldn't be packed tightly together vertically at this point, but there's a typo on line 72 of main.css that prevents them from spreading out on one line: display: inline-black;. The actual value should be inline-block (with an "o" instead of an "a").

FYI: while it's not related to the problem, there's a stray string: "class="selected" on line 23 of about.html.