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