Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <title>Zmienne</title>
  5. </head>
  6. <body>
  7. <center>
  8. <script type="text/javascript">
  9. var imie=parseInt(prompt("Ile masz lat?",""));
  10. var nazwisko=prompt("Podaj swoje nazwisko","");
  11. document.write("Witaj "+(imie)+"!<br>");
  12. document.write("Twoje nazwisko to "+nazwisko+".");
  13. </script>
  14. </center>
  15. </body>
  16. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement