JavaScript JavaScript Basics (Retired) Introducing JavaScript Your First JavaScript Program

How am I supposed to write the coding inside the script area? It keeps telling me to add document.write.

I need help getting out of this state of confusion.

  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>JavaScript Basics</title>


<script document.write="Welcome to my site">



1 Answer

Brendan Whiting
.a{fill-rule:evenodd;}techdegree seal-36
Brendan Whiting
Front End Web Development Techdegree Graduate 84,667 Points

It needs to be inside the <script> tags, but below the line that is the comment starting with //:

// Write your code here. <-- this part is a comment and will not get run
This is where code goes that you want to run.