Very basic javascript problm :( : I have been designing webpages using html and css for about 6 months now, For the past week, I started diving into php, mysql, javascript etc... Although I now a lot about these languages now "such as arrays and functions", I'm having a basic problem to getting this javascript to run, here is the issue
_______________________________________________________________________________  
    <!DOCTYPE html>
    <html>
    <head>
 
    </head>
    <body>

    <input type="submit" value="submit" onclick="click()"/>
    <script>

    function click() {
    alert ("hey");
    }

    </script>`


    </body>
    </html>
__________________________________________________-
Why is it not running??? :(