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!

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 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