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

this code won't work.

I tried countless times and still wouldn't work. At this point, I'm not sure what I'm doing wrong.

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

<body>
</body>

<script>

document.write("welcome to my house");
</script>

</html>

1 Answer

Cheo R
Cheo R
37,150 Points

The 'w' in 'welcome' has to be uppercase and switch 'house' for 'site'.