SHARE
TWEET

Untitled

a guest Jul 21st, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var reponse = prompt('Hey mon ami ! Tu aimes les patates ?');
  2.      
  3.    var chaine = "";
  4.    if  (reponse=='oui') {
  5.       for (i=1;i<8;i++) {
  6.          chaine +="#";
  7.          document.write(chaine+ "</br>");
  8.       }
  9.    }
  10.    if (reponse=='non') {
  11.       document.write(" C'est bien dommage" + "</br>");
  12.    }
  13.    if (reponse!=='oui' && reponse!=='non'){
  14.       document.write("je vous sens tiraill√©"+ "</br>");
  15.    }
  16.    
  17.      
  18.    
  19.    
  20. <!DOCTYPE html>
  21. <html lang="en">
  22. <head>
  23.  
  24.   <!--  Meta  -->
  25.   <meta charset="UTF-8" />
  26.   <title>My New Pen!</title>
  27.  
  28.   <!--  Styles  -->
  29.   <link rel="stylesheet" href="styles/index.processed.css">
  30. </head>
  31. <body>
  32.  
  33.  
  34.   <!-- Scripts -->
  35.   <script src="C:\MARILOU\wildCodeSchool\JavaScriptProjets\JavaScripting\patates.js"></script>
  36. </body>
  37. </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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top