Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 56 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. <!DOCTYPE HTML>
  2. <html lang="en">
  3.  
  4. <body>
  5. <script>
  6.    
  7.      let answer=prompt("Hey mon ami ! tu aimes ça manger des patates?, Oui/Non ou o/n");
  8.  
  9.      if (answer.charAt(0) =="o" || answer.charAt(0) =="O" || answer.charAt(0) =="Y" || answer.charAt(0) =="y") {
  10.         var j ="#";
  11.         for(i=0; i <=7; i++) {
  12.         console.log(j);
  13.         j += "#";
  14.     }
  15.     }
  16.  
  17.     else if (answer.charAt(0) =="n" ||answer.charAt(0) =="N")
  18.     {
  19.         alert(":'-(");
  20.     }    
  21.    
  22.     else {
  23.         alert("Je vous sens comme tiraillé");
  24.     }
  25. </script>
  26.  
  27. </body>
  28. </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