esercizi js

This commit is contained in:
2014-11-30 18:46:24 +01:00
parent b2e9b46742
commit c30036a3bc
11 changed files with 597 additions and 27 deletions

33
js_7.html Normal file
View File

@@ -0,0 +1,33 @@
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
</head>
<body>
<script>
nome = prompt("Nome");
cognome = prompt("Cognome");
</script>
<h1> Campionato di Pallastrada</h1>
<p>Classifica</p>
<span id="message"></span>
<script>
document.getElementById("message").innerHTML = "Ciao " + nome + " " + cognome +
" ci vediamo fra 4 anni";
</script>
</body>
</html>