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 trialRyno Botha
Courses Plus Student 4,055 PointsBummer! You've the string is the incorrect value remember to use \ before the " or '.
But I did do it xD
Can anyone please let me know if you see something wrong ^^
Thanx~
var statement = 'she said "How\'s the family?"';
7 Answers
Ryno Botha
Courses Plus Student 4,055 PointsNever mind! Working now ^^
SIDONY SMITH
1,454 PointsHey Ryno Botha, can you please tell me where I may be going wrong.....I have created my "Contact" page, but for some strange reason, the browser keeps on saying "..../index.html" instead of "...contact.html"...I have followed the tutorial several times over, refreshed the browser and still no where.....Would appreciate your help if you're able to...Thanks...
Ryno Botha
Courses Plus Student 4,055 PointsCan you send me the code you used in your HTML? x)
You'll be able to paste your Code like this:
```
Paste your code
```
It is important to use the 3 ` before and after the code x)
SIDONY SMITH
1,454 Points<body> <header> <a href="index.html" id="logo"> <h1>Sidony Smith</h1> <h2>Web Design Consultant</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>
SIDONY SMITH
1,454 Pointsoh snap...tried to copy and paste it here....obviously that didnt work...aaaahhhh...wwwuuuusssaaaa!!!
Ryno Botha
Courses Plus Student 4,055 Pointslolz itz fine xP Just try again ^^
SIDONY SMITH
1,454 Pointsok, in the Nav element, I wrapped it in the (a href) attribute witha "class="selected" >Contact...with the correct closing...
Ryno Botha
Courses Plus Student 4,055 Pointsin the contact.html it should look like this:
<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">Conatct</a></li>
</ul>
</nav>
Ryno Botha
Courses Plus Student 4,055 PointsMake sure your using contact.html and not Contact.html
SIDONY SMITH
1,454 PointsRyno, I honestly cant see where it is that I have gone wrong...I created the file in the right place...and its still not working....followed your exact code and it still has the index.html as the root...bummed out at this point..
Ryno Botha
Courses Plus Student 4,055 PointsHaha seems like you keep running into weird problems
Try going through the forums, see if people might have had the same problem x)
Go to Forum-
Just change Topics to HTML (Right Side)-
See if you can find something x)