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

which statement helps write welcome to my site

how do i write welcome to my site using java script

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


document.write "welcome to my site"



1 Answer

You would need parentheses around the string to create a function

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