JS penggunaan fungsi3.1

by istiq20

HTML

<!DOCTYPE html>
<html>
    <head>
        <script>
            //Membuat fungsi Hello()
            function Hello(){
                return alert('Hello Guys')
            }
        
        </script>
    </head>

    <body>
        <a href='#' onclick="Hello()">Klik Disini</a>
    </body>
</html>