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

Need help with Images and Lists Section

I can't get the links to show up in the browser can someone look at my code and make sure it's right.

<!DOCTYPE HTML>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>Smells Like Bakin'  Cupcake Company</title>
</head>
<body>
    <img src="img/logo.gif" alt="Smells Like Bakin">
    <ul class="nav">
        <li><a href="#">About</a></li>
        <li><a href="#">Cupcakes & Prices</a></li>
        <li><a href="#">Locations</a></li>
        <li class="last"><a href="#">Contact Us</a></li>
    </ul>
</body>
</html>

12 Answers

I figured it out, Thanks

John Locke
John Locke
15,479 Points

Confused as to what you mean, Steve. Where are your links not showing up?

When I save sublime text 2 file and refresh the browser the About, Cupcakes and Prices, Locations do not show up in the browser like in the video. Thanks

Amna Shamim
Amna Shamim
8,857 Points

I'm having the exact same problem and my code is identical to yours. What was the solution?

You have to use & instead of & because html recognizes it as something else if you use an ampersand instead of this way I believe. I hope this helps you.

You have to use & instead of & because html recognizes it as something else if you use an ampersand instead of this way I believe. I hope this helps you.

&

Amna Shamim
Amna Shamim
8,857 Points

I feel really slow but I don't see the difference between & and ampersand. Is there a different way to enter that or should I just change it to "and"?

Amna Shamim
Amna Shamim
8,857 Points

I feel really slow but I don't see the difference between & and ampersand. Is there a different way to enter that or should I just change it to "and"?

I'm sorry it's showing up in the forum like it would show up on your web browser. You have to put the ampersand symbol followed by amp and then semicolon with no spaces. Hope that helps.

No problem.