daily pastebin goal
68%
SHARE
TWEET

Untitled

a guest Sep 18th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3. <body>
  4.  
  5. <p>Hey mon ami ! Tu aimes ça les patates ?</p>
  6.  
  7. <button onclick="monTasdePatate()">Yes</button>
  8. <button onclick="myAlert()">No</button>
  9. <button onclick="dontsave()">i don't know</button>
  10. <script>
  11.   function monTasdePatate() {
  12.     diese = "#";
  13.     for (let i = 0; i < 7; i++) {
  14.     console.log(diese + '\n');
  15.     diese = diese + '#';
  16.  
  17. }
  18. }
  19. function myAlert() {
  20.     alert("Je vous sens comme tiraillé");
  21. }
  22. function dontsave() {
  23.     alert("i'm so sade");
  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