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
Ronav Saundh
8,070 PointsCan't Get Captions To Appear Below jQuery Light Box
Hi, I am not able to get my caption text which is taught in the Light Box course part 4 video. I copied the code and still it is not working. Thanks, Ron
Ronav Saundh
8,070 PointsThis is the code I have written.
michaelotis
Front End Web Development Techdegree Student 20,440 Pointsdo you have the html?
3 Answers
Ronav Saundh
8,070 Points<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" title="no title" charset="utf-8">
<title>Image Gallery</title>
</head>
<body>
<h1>Image Gallery</h1>
<ul id="imageGallery">
<li><a href="images/refferal_machine.png"><img src="images/refferal_machine.png" width="100" alt="Refferal Machine By Matthew Spiel"></a></li>
<li><a href="images/space-juice.png"><img src="images/space-juice.png" width="100" alt="Space Juice by Mat Helme"></a></li>
<li><a href="images/education.png"><img src="images/education.png" width="100" alt="Education by Chris Michel"></a></li>
<li><a href="images/copy_mcrepeatsalot.png"><img src="images/copy_mcrepeatsalot.png" width="100" alt="Wanted: Copy McRepeatsalot by Chris Michel"></a></li>
<li><a href="images/sebastian.png"><img src="images/sebastian.png" width="100" alt="Sebastian by Mat Helme"></a></li>
<li><a href="images/skill-polish.png"><img src="images/skill-polish.png" width="100" alt="Skill Polish by Chris Michel"></a></li>
<li><a href="images/chuck.png"><img src="images/chuck.png" width="100" alt="Chuck by Mat Helme"></a></li>
<li><a href="images/library.png"><img src="images/library.png" width="100" alt="Library by Tyson Rosage"></a></li>
<li><a href="images/boat.png"><img src="images/boat.png" width="100" alt="Boat by Griffin Moore"></a></li>
<li><a href="images/illustrator_foundations.png"><img src="images/illustrator_foundations.png" width="100" alt="Illustrator Foundations by Matthew Spiel"></a></li>
<li><a href="images/treehouse_shop.jpg"><img src="images/treehouse_shop.jpg" width="100" alt="Treehouse Shop by Eric Smith"></a></li>
</ul>
<script src="http://code.jquery.com/jquery-1.11.0.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/app.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>
Ronav Saundh
8,070 PointsHere is the html.
rydavim
18,814 PointsIt's generally not a good idea to mark your own comment as best answer unless it really did solve your problem. It discourages other students from offering help, as your question will not appear on the unanswered questions list and will be marked as resolved.
In reference to your problem, you code seems to be working as expected for me. I am using Firefox on OSX, for reference. Try using a different browser, or clearing your cache and refreshing. If that doesn't resolve your issues, please post what browser and OS you're working on as well as any other troubleshooting information, such as errors.
Happy coding!
Ronav Saundh
8,070 PointsHi, The problem has been fixed. It was a version thing so the answer has been solved. If you want I can put the best answer thing on your post. Thanks.
rydavim
18,814 PointsGlad to hear it worked out. Don't worry about the answer tag, it was just a tip to keep in mind. Have fun with jQuery! :)
Ronav Saundh
8,070 PointsRonav Saundh
8,070 Points