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

JavaScript AJAX Basics (retiring) AJAX and APIs Displaying the Photos

Empty boxes with src links displayed after clicking buttons

Flickr does currently worked here, but for some reason when I click my buttons, it only shows empty boxes with Img underlined for links with src under them. I've checked the dev tools and it's setting up each <li> correctly with the links. I use chrome as my default browser, but I've also tried IE just to see if there was a difference.
My workspace: https://teamtreehouse.com/workspaces/36699032# I did try switching each let to var to see if it makes a difference, but no changes. Is there something wrong with my code?

Adam Beer
Adam Beer
11,314 Points

I clicked the link, but the page is not found.

Steven Parker
Steven Parker
231,269 Points

You can't share a direct URL to your workspace, it's temporary and only exists while you are using it.
But you can use the snapshot function in the workspace and provide the link to that.

2 Answers

Steven Parker
Steven Parker
231,269 Points

On line 16 of "flickr.js", the "<" symbol is missing from the string containing the "img" tag.

Also, on line 9 of "index.html" there's a piece of an extra "<script" tag inside the actual tag.

This particular workspace included a separate "finished" folder which provided a convenient reference for comparison.

https://w.trhou.se/6erzemlymc Sorry! I haven't needed to post up a workspace before.