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
Scott Johnson
230 PointsMy caption links aren't working.
So I've followed along with every step that the video mentions, pretty much copied it verbatim and I get the images to show, the captions to show, but the links don't work. Can someone look at the code I have and help me figure out what went wrong? Here is the snapshot of my code https://w.trhou.se/l57a7fn5ck
1 Answer
Ognjen Jevremovic
13,028 PointsHello Scott. How are you? First of, let me start by actually congratulating you on taking a major step forward in your education and investing both your precious time and money into a better future.
I hope you're enjoying the videos here on Treehouse. Trust me, you'll be going through them in such speed if you dedicate at least 30 minutes of your time each day. I can almost guarantee you that in 3 months period, you'll be making your own online portfolio (with no more than 30minutes of your time invested each day)!
Now, to answer your question. Here's the issue bugging both of us :
<li>
<a hreft="img/numbers-01.jpg">
<img src="img/numbers-01.jpg" alt="">
<p>Experimentation with color and texture.</p>
</a>
</li>
It's nothing more than a silly typo, but trust me these stupid machines we use everyday in both of our professional life and for our leisure that we call computers, are really unforgiving. Grrrr! But no matter, I must admit that it happens to me everyday too! After months and months of coding. We're all trying to complete our daily tasks as fast as possible, so we can have more of our free time to dedicate to our loved ones. And that's ok!
As you probably already now (judging from your code) the actual name of the attribute of an a - anchor HTML element, is href.
So in order to debug the code, all you need to do is remove that extra letter - "t", you've accidentally typed at the end of "href" attribute.
Best wishes and see you at the top. Keep on hacking
Scott Johnson
230 PointsScott Johnson
230 PointsThank you! Sometimes a second pair of eyes is all that's needed.