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 trialDeAndre Filer
1,967 PointsProblem with Anchor ? I am new to Ruby, and a I am having trouble getting Portfolio,About, and Contact to work.
<header> <a href="index.html"> <h1> DeAndre Filer</h1> <h2>Developer</h2> </a> <nav> <ul> <li><a href="index.html">Portfolio</a></li> <li><a href="About.html">About</a></li> <li><a href="Contact.html">Contact</a></li> </ul> </nav> </header>
2 Answers
Kevin Korte
28,149 PointsI'm not sure how to best answer this as there is no Ruby in your example. I'm going to assume your problem is your href's are pointing to html files, but you wouldn't be using html files in Ruby. Likely, it would be an ERB file. That could be the problem?
Kevin Korte
28,149 PointsIs this HTML that has these list item tags in a html.erb file or just a vanilla html file?
DeAndre Filer
1,967 PointsDeAndre Filer
1,967 PointsThe list item tags are not liking to the Anchor. The link will not now when I execute the file.