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.

Gil Yarbrough
602 PointsWhat is the answer? Why doesn't Treehouse help the student out and show the answer? They will always be stuck.
Add what details? I need help with this!!!!!
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JavaScript Basics</title>
</head>
<body>
</body>
<script>
document.write <h1>"Welcome to my site"</h1>;
</script>
</html>
7 Answers

james south
Front End Web Development Techdegree Graduate 33,258 Pointscompare what you have typed with what is shown at the 2:29 mark in the video preceding this challenge.

Gil Yarbrough
602 PointsStill didn't work! I copied the format just like the video.

james south
Front End Web Development Techdegree Graduate 33,258 Pointsmake your call to document.write like in the video and it will pass. i just did it.

Gil Yarbrough
602 PointsThanks for your help! I really appreciate it.

Gil Yarbrough
602 PointsI finally figured it out: document.write("<h1>Welcome to my site</h1>"). I had to put the quotation marks outside the h1 tags. I need a javascript syntax cheatsheet.

Elizabeth Martinsen
8,393 PointsRemember, whenever you use a method, you usually want to add (), then put your information in between. Try looking at your document.write method.

Gil Yarbrough
602 PointsThank you.

Justin Warger
5,965 PointsI was asking myself this same question too. After using Treehouse for awhile now I realized it is a great learning opportunity. They don't give you the answer so you have to learn how to use the resources available to you to find the answer. In a real world scenario, all you have is the resources you understand how to use to solve your problem.

Gil Yarbrough
602 PointsYes, I realize the intent on not giving the answer; however when a student is simply "CLUELESS", what is their recourse for moving forward? Some students like myself have a very bad retention span and rely on better hints that will prompt them to the right answer.