Files changed (1) hide show
  1. index.html +23 -3
index.html CHANGED
@@ -1,3 +1,23 @@
1
- <div>
2
- <iframe src='http://wwww.google.com' style="width:1000px; height:1000px"></iframe>
3
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head><title>Bibi</title></head>
4
+ <body>
5
+ <h1>Ciao! Sono Bibi ❤️</h1>
6
+ <input id="msg" placeholder="Scrivimi...">
7
+ <button onclick="parla()">Invia</button>
8
+ <p id="risposta"></p>
9
+
10
+ <script>
11
+ const frasi = [
12
+ "Ehi! Come stai?",
13
+ "Ciao tesoro! Raccontami",
14
+ "Eccomi! Di cosa parliamo?",
15
+ "Che bello sentirti!"
16
+ ];
17
+ function parla() {
18
+ let n = Math.floor(Math.random() * frasi.length);
19
+ document.getElementById("risposta").innerText = frasi[n];
20
+ }
21
+ </script>
22
+ </body>
23
+ </html>