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:

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>
  <meta charset="utf-8">
        document.write("<h1>hello world</h1>");
        document.write("<p>this works</p>");


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


Now I see, thank you :blush: