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! While you're at it, check out some resources Treehouse students have shared here.

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

In the 11th, is where typed 'Welcome to my site', I previewed and the phrase appeared.. but did not get it right, help?

I am wondering why I am not getting the work right when the phrase 'Welcome to mysite' appears after appearing. What am I doing wrong?

While there is more than 1 way to do this, it appear that this challenge is looking for the 'document.write' method. Also, ensure the text is correct (my site vs. mysite).

thank you, I completed the challenge

1 Answer

I have made the assignment again. they ask for it to be written to the web page (** document.write ) with the text ** Welcome to my site.

          document.write("Welcome to my site");