Update Templates/index.html
Browse files- Templates/index.html +9 -49
Templates/index.html
CHANGED
|
@@ -1,57 +1,17 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
<html lang="en">
|
| 3 |
<head>
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
</head>
|
| 9 |
<body>
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
|
|
|
| 13 |
</div>
|
| 14 |
-
|
| 15 |
-
<div class="chat-box" id="chat-box">
|
| 16 |
-
<div class="bot-message">
|
| 17 |
-
<p>Hi! Would you like to customize food?</p>
|
| 18 |
-
</div>
|
| 19 |
-
</div>
|
| 20 |
-
|
| 21 |
-
<div class="user-input">
|
| 22 |
-
<input type="text" id="user-message" placeholder="Type 'yes' or 'yeah' to start" />
|
| 23 |
-
<button id="submit-btn">Submit</button>
|
| 24 |
-
</div>
|
| 25 |
-
|
| 26 |
-
<div class="category-selection">
|
| 27 |
-
<select id="category-dropdown" class="dropdown" hidden>
|
| 28 |
-
<option value="Veg">Veg</option>
|
| 29 |
-
<option value="Non-Veg">Non-Veg</option>
|
| 30 |
-
<option value="Vegan">Vegan</option>
|
| 31 |
-
<option value="Pasta & Noodles">Pasta & Noodles</option>
|
| 32 |
-
<option value="Breads & Baked Goods">Breads & Baked Goods</option>
|
| 33 |
-
</select>
|
| 34 |
-
</div>
|
| 35 |
-
|
| 36 |
-
<div class="nutrition-selection" hidden>
|
| 37 |
-
<select id="nutrition-dropdown" class="dropdown">
|
| 38 |
-
<option value="Protein Rich">Protein Rich</option>
|
| 39 |
-
<option value="Low Carbs">Low Carbs</option>
|
| 40 |
-
<option value="Gluten-Free">Gluten-Free</option>
|
| 41 |
-
</select>
|
| 42 |
-
</div>
|
| 43 |
-
|
| 44 |
-
<div class="ingredient-selection" hidden>
|
| 45 |
-
<select id="ingredient-dropdown" class="dropdown">
|
| 46 |
-
<!-- Ingredients will be populated dynamically -->
|
| 47 |
-
</select>
|
| 48 |
-
</div>
|
| 49 |
-
|
| 50 |
-
<div class="response">
|
| 51 |
-
<div id="bot-response" class="bot-message"></div>
|
| 52 |
-
</div>
|
| 53 |
-
</div>
|
| 54 |
-
|
| 55 |
-
<script src="script.js"></script>
|
| 56 |
</body>
|
| 57 |
</html>
|
|
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
<html lang="en">
|
| 3 |
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Food Customization Chatbot</title>
|
| 7 |
+
<link rel="stylesheet" href="styles.css">
|
| 8 |
</head>
|
| 9 |
<body>
|
| 10 |
+
<div id="chat-container">
|
| 11 |
+
<div id="chatbot"></div>
|
| 12 |
+
<input type="text" id="user-input" placeholder="Type a message..." />
|
| 13 |
+
<button onclick="sendMessage()">Send</button>
|
| 14 |
</div>
|
| 15 |
+
<script src="app.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
</body>
|
| 17 |
</html>
|