SHARE
TWEET

Untitled

a guest Mar 24th, 2019 50 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.         let patate = ''
  8.         let reponse = prompt('Hey mon ami ! Tu aimes ça les patates ?')
  9.  
  10.         if (reponse === 'oui') {
  11.  
  12.             for (i = 1; i < 8; i++) {
  13.                 patate += '#'
  14.                 console.log(patate);
  15.             }
  16.  
  17.             } else if (reponse === 'non') {
  18.                 alert(`Quel dommage, c'est tellement bon pour faire des frites !!`)
  19.             }
  20.             else {
  21.                 alert('Je vous sens comme tiraillĂ©')
  22.             }
  23.    
  24.     </script>
  25.  
  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