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 trialalina antemir
6,111 PointsHi, I just noticed in the workspace, instead of <div id = 'ajax'> there is <ul id = 'ajax'>;
Hi, while following the video with the workspace I noticed that instead of div id="ajax", we have ul id="ajax", not sure if it matters but thought of pointing this out for the best accuracy of example.
2 Answers
Marcus Parsons
15,719 PointsHey Alina,
It seems as though this should be a div based upon the HTML within "sidebar.html", but I know who would know the answer to this! Dave McFarland
Dave McFarland
Treehouse TeacherThanks for pointing out this mistake alina antemir ! I've fixed the workspace to match the video.
(Thanks Marcus Parsons for bringing this to my attention)
Marcus Parsons
15,719 PointsNo problem, Dave!
alina antemir
6,111 PointsHi Dave, thank you for your answer and for fixing the workspace.
Jennifer Morkunas
20,037 PointsI just tried this and it still has the ul id="ajax"...
Dave McFarland
Treehouse TeacherJennifer Morkunas are you launching the workspace from this page: https://teamtreehouse.com/library/ajax-basics/ajax-concepts/a-simple-ajax-example
I just tried it and I see the <div> not the <ul> tag. Did you open this workspace previously? If you did then you might have the old version still in place.
Jennifer Morkunas
20,037 PointsOh okay, that's probably it because I am reviewing the video for a second time. Thank you for your follow up!
Victoria Felice
14,760 PointsDave, I noticed the same thing in the Project Files (stage1 folder):
<ul id="ajax">
</ul>
It confused me at first and I am glad I saw alina's question. Thank you.
alina antemir
6,111 Pointsalina antemir
6,111 PointsThank you for your answer Marcus and for pointing this out to Dave!
Marcus Parsons
15,719 PointsMarcus Parsons
15,719 PointsMy pleasure!