SHARE
TWEET

Untitled

Rofihimam Sep 9th, 2019 106 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <title>Buat Perulangan 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.             for (var i = 0; i < 3; i++) {
  12.                 document.write("Halo Javascript 1 <br>");
  13.             }
  14.  
  15.  
  16.             var j = 0;
  17.             while (j < 3) {
  18.                 document.write("Halo Javascript 2 <br>");
  19.                 j += 1;
  20.             }
  21.  
  22.  
  23.             var k = 0;
  24.             do {
  25.                 document.write("Halo Javascript 3 <br>");
  26.                 k++;
  27.             }
  28.             while (k < 3)
  29.         </script>
  30.     </p>
  31. </body>
  32. </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