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 trialAnthony Velling
767 Pointscontact link
My contact link is taking me to the wrong URL. it is taking me to /contct.html should be /contact.html. where am i going wrong.
1 Answer
Matthew Panton
15,228 PointsHave you checked the spelling of contact in the href attribute?
<a href="/contact.html">Contact</a>
Anthony Velling
767 PointsAnthony Velling
767 Pointsspelling is correct.
Matthew Panton
15,228 PointsMatthew Panton
15,228 Pointsrecon you could share your code?
Anthony Velling
767 PointsAnthony Velling
767 Points'''html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Anthony Velling | Designer</title> <link rel="stylesheet" href="css/normalize.css"> <link href='http://fonts.googleapis.com/css?family=Bitter:400,400italic|Yanone+Kaffeesatz:400,700' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/main.css">
</head> <body> <header> <a href="index.html" id="logo"> <h1>Anthony Velling</h1> <h2>Designer</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" class="selected">Contact</a></li> </ul> </nav> </header> '''
Matthew Panton
15,228 PointsMatthew Panton
15,228 PointsI can't see anything wrong with your code, try right-clicking the link in your browser and inspecting the element. It will show you there what the href attribute is. Maybe you you have the wrong HTML document open in your browser and you're viewing a different document to the one which you're editing. (I've done it many times)