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