Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Potatoes Fever</title>
- </head>
- <body>
- <script>
- let potatoes = prompt('Hey mon ami ! Tu aimes ça les patates ?', '');
- if (potatoes == 'oui') {
- for (let i = 0; i < 7; i++) {
- console.log('#'.repeat(i+1));
- }
- }
- else if (potatoes == 'non') {
- alert('Je suis déçu ;0(');
- }
- else {
- alert('Je vous sens comme tiraillé');
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement