Just made a basic program to fin the root of my problem and I can't seem to find why this is not working at all.

**HTML**

```
<html lang="en">
    <head>
        <script type="text/javascript" src="carjava.js"></script>
    </head>
<body onload="hi()">
    hi
</body>

</html>

```

**JS**

```
function hi() {
alert("hi");
}

```

I want an alert to pop up when the page loads but nothing happens, any ideas?