Spaces:
Running
Running
Update index.html
#1
by Ceraolo - opened
- index.html +8 -3
index.html
CHANGED
|
@@ -1,3 +1,8 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
const risposte = [
|
| 2 |
+
"Ehi! Come stai oggi?",
|
| 3 |
+
"Ciao tesoro! Raccontami",
|
| 4 |
+
"Eccomi! Cosa posso fare per te?",
|
| 5 |
+
"Che bello sentirti! Di cosa parliamo?"
|
| 6 |
+
]
|
| 7 |
+
// Sceglie una frase a caso
|
| 8 |
+
const risposta = risposte[Math.floor(Math.random() * risposte.length)];
|