<!DOCTYPE html>
<html>
<head>
    <title>Hello World</title>
    <script src="HelloWorld.js" />
</head>
<body>
   <button onclick ="pressButton()" >Click Me!</button>
</body>
</html> 
The above code does not show the button in the browser.
The HelloWorld.js is in the same folder as the HTML File with the following code:
function pressButton()
{
    alert("Hi");
}
But nothing happens.
Even if I give the full path (or) ./HelloWorld.js nothing happens.
I am on a windows system.
 
    