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!
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
Jason MontgomeryCourses Plus Student 2,277 Points
A task isn't consistent all the way through, can this be fixed?
Keep doing what it prompts me to do and this error comes up, and I checked and the task that I completed at first is still correct and hasn't reverted back to original file.
Chris Shaw26,662 Points
The only issue I see with your code is you don't have
container specified as the id for
getElementById, aside from that there's a minor bug in the code challenge that allows you to put the
script tag after the closing
body tag but that's not causing any issues.
var container = document.getElementById('container');