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 trialed quijano
11,907 PointsI don't get this question, any help?
In the myscript.js file, on line 6, get the element by the id of "container"
3 Answers
Stone Preston
42,016 Pointsyou need to pass in the name of the id to the getElementById function.
currently line 6 is:
var container = document.getElementById('title');
which sets container to the element with the id of "title"
however the element you want has an id of "container", not "title"
var container = document.getElementById('container');
ed quijano
11,907 Pointsok Thanks
Ned Nadima
2,082 PointsI still don't get it lol
Jim Withington
12,025 PointsGo ahead and post your code and we can try to give you a hand!
Jim Withington
12,025 PointsJim Withington
12,025 PointsThanks! That question made so little sense to me, too! :-)