SHARE
TWEET

Untitled

Rofihimam Sep 9th, 2019 98 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <title>Buat Fungsi 3 Rofi'ul Himam XI RPL 2</title>
  5.     <link rel="stylesheet" type="text/css" href="perulangan.css">
  6.     <link href="https://fonts.googleapis.com/css?family=Merienda+One&display=swap" rel="stylesheet">
  7. </head>
  8. <body>
  9.     <p id="coba">
  10.         <script type="text/javascript" language="javascript">
  11.             var nama = "Amelia";
  12.             var posisiKarakter = 2;
  13.             var k = nama.charAt(posisiKarakter);
  14.             document.write("Karakter pada urutan ke 2 dari kata Amelia adalah " + k + " (dimulai dari 0)");
  15.         </script>
  16.     </p>
  17. </body>
  18. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top