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 JavaScript Loops, Arrays and Objects Tracking Multiple Items with Arrays Useful Array Methods

Kelly Musgrove
Kelly Musgrove
16,453 Points

document.write not working in Chrome for mac (running El Capitan).

I just wanted to give a heads up - document.write is currently not working in chrome. I'm running Chrome Version 52.0.2743.82 (64-bit), on El Capitan version 10.11.6.

I tested the same code in Firefox and it works fine. Another way to test this is to use the alert() method in place of document.write().

Hope this helps anybody having this issue after me :-)

Thanks Kelly!

1 Answer

Kelly, thanks for sharing your finding. This is not an issue for me with Chrome Version 52.0.2743.82 (64-bit) on El Capitan ver 10.11.6. I tested it by typing document.write(10) into the console.