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.

JavaScript JavaScript Basics (Retired) Introducing JavaScript Your First JavaScript Program

Reuven Bazov
Reuven Bazov
100 Points

i could'nt preform the document.write stage

i wrote the command pressed save and pressed preview, i saw the statment of the first stage

Adrien Contee
Adrien Contee
4,875 Points

You're going to have to give us more info than that. It's always best practice to post your code using the guidelines in the Markdown Cheatsheet below for formatting reference. It s the quickest way to get a response to your problem. Otherwise we won't know how to help or what you're seeing.

Richard andreasen
Richard andreasen
4,591 Points

more than likely since JavaScript is case sensitive you wrote the code as such Document.write when it should of been document.write JS is written typically as you would understand a camel hump such as var myVarExample. hope that helps!

1 Answer

Reuven Bazov Richard andreasen ... is right, I thought to myself..WTF... and the worksapces txt editor automatically capitalizes the D in document.write ("<h1>Welcome to the Javascript Basics</h1>"); so it almost works against you.

they should look into fixing that , other text editors I've used don't capitalize the D in document.write when doing autofill

so make sure the "d" is lowercase in document.write