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?

Mark Buchthal
Mark Buchthal
12,056 Points

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");

Thanks