Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Sam Katz2,926 Points
document.write is the correct command but it doesn't take it
I can't get it to take document.write or the complete statement.
There are 2 text inputs there separated by the dot.
Are you putting "document" in the first one and "write" in the second one?
ellie adam26,376 Points
What are you trying to achieve? Check console in inspect Element and find the error where is a mistake.
Accessing the DevTools To access the DevTools, open a web page or web app in Google Chrome. Either:
Select the Chrome menu Chrome Menu at the top-right of your browser window, then select Tools > Developer Tools. Right-click on any page element and select Inspect Element. The DevTools window will open at the bottom of your Chrome browser.