Coding Javascript by Adobe Dreamweaver

Hi guys I got a problem in coding Javascript by dreamweaver. When I code just as it should with all the details, I don’t see the result in any of browsers. What is the problem with my code (only the problem that’s preventing it to run). Is there something that I have to learn?
The syntax for instance:

![|552x500](upload://q0OxWSlBZxHUH5JoAzqmB1zknAm.JPG)

I wonder if you can help me! :blush:

first off, even when writing html elements, that requires you to use quotation marks around it:

document.write("<h1>Hello World!</h1>");

now i need to test something, give me a second, i made a html file:

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <script>
        document.write("<h1>hello world</h1>");
        document.write("<p>this works</p>");
  </script>
  <title></title>
</head>
<body>

</body>
</html>

seems to work like a charm, to be honest, your dreamweaver looks oudated, and your html code is outdated

3 Likes

Now I see, thank you :blush: