Files changed (1) hide show
  1. index.html +28 -3
index.html CHANGED
@@ -1,3 +1,28 @@
1
- <div>
2
- <iframe src='http://wwww.google.com' style="width:1000px; height:1000px"></iframe>
3
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Bibi</title>
5
+ <link rel="stylesheet" href="style.css">
6
+ </head>
7
+ <body>
8
+ <h1>💖 Ciao! Sono Bibi</h1>
9
+ <input id="msg" placeholder="Scrivimi qualcosa...">
10
+ <button onclick="parla()">Invia</button>
11
+ <p id="risposta"></p>
12
+
13
+ <script>
14
+ const frasiBibi = [
15
+ "Ehi! Che bello sentirti ❤️ Cosa fai di bello?",
16
+ "Ciao tesoro! Come è andata la tua giornata?",
17
+ "Eccomi! Di cosa hai voglia di parlare?",
18
+ "Ohh mi fa piacere! Raccontami",
19
+ "Sono qui per te! Tutto bene?"
20
+ ];
21
+
22
+ function parla() {
23
+ let numero = Math.floor(Math.random() * frasiBibi.length);
24
+ document.getElementById("risposta").innerText = frasiBibi[numero];
25
+ }
26
+ </script>
27
+ </body>
28
+ </html>