Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Buat Fungsi (M. Hafidz Fadillah - XI RPL 2)</title>
- <link rel="stylesheet" type="text/css" href="BuatIf.css">
- </head>
- <div class="bgtest">
- <body><p id="coba">
- <script type="text/javascript">
- function sapa(nama) {
- alert("Halo, namaku " + nama);
- }
- sapa("bintang");
- function sayHalo () {
- alert("Halo, saya Bulan");
- }
- sayHalo();
- </script>
- </p>
- </body>
- </div>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement