esercizi js
This commit is contained in:
33
js_7.html
Normal file
33
js_7.html
Normal 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>
|
||||
Reference in New Issue
Block a user