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

can you help me to answer this qustion?

can you help me to answer this qustion?

index.html
<!DOCTYPE HTML>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>JavaScript Basics</title>
</head>

<body>
</bod("<h1>welcome to my site.</h1>)rite your code here.

</script>

</html>

1 Answer

Steven Parker
Steven Parker
207,980 Points

Here's a few hints:

  • the "<script>" tag must remain intact
  • the "// Write your code here." line is a comment and can be left as-is
  • you should add your new code after that comment
  • you won't need to use any HTML tags in your code
  • you may want to use the "document.write" function for your message