Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE HTML>
- <html>
- <meta charset="utf-8">
- <title>Hey mon ami ! Tu aimes ça les patates ?</title>
- <body>
- <script>
- let confirm = prompt("Hey mon ami ! Tu aimes ça les patates ?");
- var patates = '#'
- if (confirm == 'oui'){
- for (i = 0; i < 7; i++){
- console.log(patates);
- patates += '#';
- }
- }
- else if (confirm == 'non')
- alert(" :( ");
- else
- alert("Je vous sens comme tiraillé");
- </script>
- </body>
- </html>
Add Comment
Please, Sign In to add comment