daily pastebin goal
10%
SHARE
TWEET

Untitled

a guest Jun 22nd, 2018 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3.   <head>
  4.     <meta charset=UTF-8>
  5.     <title>Bonjour tout le monde !</title>
  6.   </head>
  7.   <body>
  8.   <script>
  9.         let asking = window.prompt('Hey mon ami ! Tu aimes ça les patates ?');
  10.   if (asking === 'oui') {
  11.       var rows = 8;
  12. for(var i=1; i<=rows; i++){
  13.     for(var j=1; j<=i; j++ ){
  14.   document.write("#");
  15.   }
  16.   document.write("<br/>"); }    
  17.   } else if (asking === 'non') {
  18.     window.alert('Je suis très décu!');
  19.   } else {
  20.     alert('je vous sens tiraillé');
  21.   }
  22.  
  23.   </script>
  24.   </body>
  25. </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