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
utafwgyyva
901 PointsI have errors at the bottom of the code but i am not sure what it is from
here is the code it has errors at the bottom please help thanks.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>YM Tech | Videos and more</title>
<link rel = "stylesheet" href = "css/normalize.css">
<link href='http://fonts.googleapis.com/css?family=Ubuntu:400,700,700italic|Slabo+27px|Montserrat' rel='stylesheet' type='text/css'>
<link rel = "stylesheet" href = "css/main.css">
<style></style>
</head>
<body>
<header>
<a href = "index.html" id = "Logo">
<h1>Yudi Moszkowski</h1>
<h2>Videos and more</h2>
</a>
<nav>
<ul>
<li><a href = "index.html" class="selected">Home</a></li>
<li><a href = "videos.html">Videos</a></li>
<li><a href = "More.html">More</a></li>
<li><a href = "about.html">About</a></li>
</ul>
</nav>
</header>
<div id = "wrapper">
<section>
<ul id="gallery">
<ul>
<li>
<a href = "img/numbers-01.jpg">
<img src="img/numbers-01.jpg">
<p>"Test Image"</p>
</a>
</li>
<li>
<a href = "img/bird.jpg">
<img src="img/bird.jpg">
<p>"The best picture I have taken!"</p>
</a>
</li>
<li>
<a href="img/numbers-06.jpg">
<img src="img/numbers-06.jpg">
<p>"yeah hello i'm a web developer"</p>
</a>
</li>
<li>
<a href = "img/numbers-02.jpg">
<img src="img/numbers-02.jpg">
<p>"picture (random)"</p>
</a>
</li>
</ul>
</section>
<footer>
<a href="http://tinyurl.com/n7wy8m9"><img src="img/youtube.jpg" alt="YouTube" class="social-icon"></a>
<a href="http://tinyurl.com/jvlacru"><img src="img/gplus.jpg" alt="Google Plus" class="social-icon"></a>
<p>Ā© 2014 Yudi Moszkowski.</p>
</footer>
</div>
</body>
</html>
utafwgyyva
901 Pointsthank you very much melisa it worked
Melisa Hamilton
11,729 PointsYour welcome. :)
utafwgyyva
901 Pointsif i take away the ul then the gallery changes and the id is just like text it shows up
1 Answer
Melisa Hamilton
11,729 PointsThis is what it should look like for your un-ordered list.
<section>
<ul id="gallery">
<li>
...
</li>
</ul>
</section>
The id "gallery" is the name of the un-ordered list, <ul>, if you were to remove the "ul" from the tag, the code would not understand what you are naming "gallery".
utafwgyyva
901 Pointsthanks alot now it stayed the same without the errors
Melisa Hamilton
11,729 PointsMelisa Hamilton
11,729 PointsIt looks like you have two ul opening tags. If you remove the second one, the one with out the 'id' referenced in it, it should work then.