-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchat.html
More file actions
34 lines (26 loc) · 1.12 KB
/
chat.html
File metadata and controls
34 lines (26 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Your Website</title>
<script src="script.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<nav>
<a href="#home">Home</a>
<a href="#about">About</a>
<a href="#services">Services</a>
<a href="#contact">Contact</a>
</nav>
<button id="chatButton" onclick="toggleChat()">Chat with Us</button>
<div id="chatPopup">
<div><center><img src="https://cdn3.notifyvisitors.com/blog/wp-content/uploads/2020/09/25095947/AI-Chatbots-Easy-Scalability-Automated-Customer-Support-amp-Business-Automation_social-media-post.jpg" width="auto" height="100px"></center></div>
<div>hello nice to meet you....</div>
<div id="chatArea"></div>
<input type="text" id="userInput" placeholder="Type your question..." onkeypress="handleKeyPress(event)">
<!-- The button content will be dynamically changed using JavaScript -->
</div>
</body>
</html>