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

Robin Archer
Robin Archer
1,203 Points

I am trying to copy what I did in practice but it's not the same. What am I doing wrong? Thanks.


Jason Anders
Jason Anders
Treehouse Moderator 145,854 Points

Hi Robin Archer,

In order for the Community to assist you, you will need to provide a bit more information on what you are having problems with. You should also include the code you have tried and are having questions about. Please refer to the Markdown Cheatsheet for the proper formatting when posting code.

Thank-you :)

Jason - Treehouse Community Moderator

1 Answer

KC Cook
KC Cook
10,384 Points

Hi Robin,

There are a few different methods covered in the first few videos but it looks like this challenge is looking for you to use the document.write method to post "Welcome to my site" to the page. Make sure to use the method inside the <script> tags to be sure it runs properly.

For example the code below would post "Hello" to the web page.


Hope that helps!

Thanks, KC