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 trialDaniel McCann
Courses Plus Student 5,308 PointsUpdating Print Function
I've been trying to update the print function myself but i have not been successful. What would be the best way to fix this. Do i need to add an event listener to the document to ensure the DOM is fully parsed?
Daniel McCann
Courses Plus Student 5,308 PointsTo be more specific in the exercise for Useful Array Methods, I'm trying to duplicate the exact results from the video and get the document to update with the appropriate html based upon questions answered correctly etc. However, document.write will not display in the middle of the loop any longer, at least not in my Chrome browser. I wasn't sure if there was a way I could alter the print function Treehouse supplies to update the page in the middle of the loop.
1 Answer
Dave StSomeWhere
19,870 PointsPlease post your code and describe what you'd like it to do and what it is actually doing and then maybe someone in the community can help.
Dave StSomeWhere
19,870 PointsDave StSomeWhere
19,870 PointsIt will be a lot easier to help if you describe what you are trying to do, post your code and explain what isn't working.