Welcome to the Treehouse Community
Looking to learn something new?
Jonathan Franklin3,883 Points
Steven Parker216,083 Points
The document.write() method writes strings into your HTML page.
It's mainly used for testing or writing contents into an otherwise blank page. As you progress through the courses, you will learn other and more commonly used ways of adding and modifying page content via the DOM (Document Object Model).