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