SHARE
TWEET

Untitled

a guest Mar 19th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE HTML>
  2. <html>
  3.  
  4. <body>
  5.  
  6.   <script>
  7.  
  8. let patate = prompt("Hey mon ami ! Tu aimes ça les patates ?");
  9.  
  10.     if (patate ==='yes'|| patate ==='Yes' || patate === 'oui' || patate === 'Oui'){
  11.       let txt = '#';
  12.       for (let i=0; i<7; i++){
  13.       console.log(txt);
  14.       txt = txt+'#';
  15.       }
  16.     } else
  17.       if (patate ==='no' || patate === 'No' || patate === 'Non' || patate ==='non'){
  18.         alert("Oh non, dommage pour toi!");
  19.     } else {
  20.         alert("Je vous sens comme tiraillé");
  21.     }
  22.  
  23.  
  24.    
  25.   </script>
  26.  
  27. </body>
  28.  
  29. </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