Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE HTML>
- <html>
- <body>
- <script>
- const city = prompt ("Où habites-tu ?")
- //console.log (city)
- const age = prompt ("Quel est ton âge ?")
- //console.log (age)
- const dateOfBirth = prompt ("Quel est ta date de naissance ?")
- //console.log (dateOfBirth)
- const sentence = `J\'habite à ${city} , j\'ai ${age} ans et je suis née en ${dateOfBirth}`
- console.log (sentence)
- </script>
- </body>
- </html>
Add Comment
Please, Sign In to add comment