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 Beginning the Project

Tony Brackins
Tony Brackins
28,766 Points

HTML missing in Workspace

Hello,

I'm trying to follow along w/ the video, but this workspace doesn't have the html that's in the id="photos" Div.

2 Answers

Dave McFarland
STAFF
Dave McFarland
Treehouse Teacher

Hi Tony B,

You're right the HTML for that isn't in the actual workspaces. You don't need it to follow along. In fact, as you'll see in the next video -- Beginning the Project -- you're going to be stripping out all of that HTML anyway. We'll rebuild that HTML dynamically in the rest of the videos in this course.

Sorry for the confusion. If you are interested in what that HTML looks like just pause the video and check it out -- but you don't need that HTML to proceed in this course.

Thanks, Dave! I had forgotten all about that beginning myself. :D

Tony Brackins
Tony Brackins
28,766 Points

Thanks guys!

Yep, I actually already finished the course but figured I'd let someone know! (Great course by the way, I feel like I can do some fancy things now)

Hey Tony,

The HTML within the "photos" div will be dynamically generated by the AJAX requests you make as you proceed into the Flickr API course. This is the div where your photos will be shown after the API call. :)

Tony Brackins
Tony Brackins
28,766 Points

Thanks, but I was actually referring to the "sample pictures" that the teacher was referencing and was present in his video. However, it wasn't in our workspace. (This is all before we modify the HTML).

Ah, okay, my workspace is the one after it's all said and done, and I had forgotten about those original pictures haha Perhaps Dave McFarland can shed some insight as to why this HTML isn't present?