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 trialJerel Wright
Courses Plus Student 1,132 PointsMy gallery section is not in 2 columns https://w.trhou.se/i6yhbps2rc
Where did I go wrong? Also, the dots are still beside me pictures
2 Answers
Jennifer Nordell
Treehouse TeacherWoops! You have two unordered lists in your html. One is in the nav and one is in the gallery. You've managed to target your nav bar with the id of gallery instead of your actual gallery.
So make the nav part look like this:
<nav>
<ul> <!-- remove the id of gallery from here -->
<li><a href="index.html" class="selected">Porfolio</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
And make the gallery part look like this:
<ul id="gallery"> <!-- put the id of gallery here -->
<li>
<a href="img/numbers-01.jpg">
<img src="img/numbers-01.jpg" alt="">
<p>Experimentation with color and texture</p>
</a>
</li>
<li>
<a href="img/numbers-02.jpg">
<img src="img/numbers-02.jpg" alt="">
<p>Playing with blending modes in Photoshop.</p>
</a>
</li>
<li>
<a href="img/numbers-06.jpg">
<img src="img/numbers-06.jpg" alt="">
<p>Trying to create an 80's style of glow.</p>
</a>
</li>
<li>
<a href="img/numbers-09.jpg">
<img src="img/numbers-09.jpg" alt="">
<p>Drips created using Photoshop brushes</p>
</a>
</li>
<li>
<a href="img/numbers-12.jpg">
<img src="img/numbers-12.jpg" alt="">
<p>Creating shapes using repitition.</p>
</a>
</li>
</ul>
You should see a big difference when you save and refresh the page! Hope this helps!
Zoran Brbora
Front End Web Development Techdegree Student 13,947 PointsAs for the dots use : a { list-style-type: none; }
Jerel Wright
Courses Plus Student 1,132 PointsJerel Wright
Courses Plus Student 1,132 PointsThanks! that did the trick. Is there a reason that my footer is not at the bottom of the page anymore though?
Jennifer Nordell
Treehouse TeacherJennifer Nordell
Treehouse TeacherJerel Wright Yup! It's because you haven't cleared the float. I'm guessing you haven't quite gotten to that part yet, though. Don't worry! At the end, it'll look great
Jerel Wright
Courses Plus Student 1,132 PointsJerel Wright
Courses Plus Student 1,132 PointsThanks!! Your help is much appreciated and helped me keep my sanity lol!