-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
39 lines (39 loc) · 936 Bytes
/
Copy pathpopup.html
File metadata and controls
39 lines (39 loc) · 936 Bytes
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
35
36
37
38
39
<!DOCTYPE html>
<html>
<head>
<style>
body {
font-family: Arial, sans-serif;
width: 300px;
padding: 10px;
}
.chat-container {
display: flex;
flex-direction: column;
}
.message {
background-color: #f1f1f1;
padding: 8px;
border-radius: 5px;
margin-bottom: 5px;
}
.user-message {
align-self: flex-end;
background-color: #d1f1d1;
}
.ai-message {
align-self: flex-start;
background-color: #f1d1d1;
}
</style>
</head>
<body>
<h3>AI Reply Bot</h3>
<div class="chat-container" id="chatContainer">
<div class="message ai-message">Hello! How can I help you today?</div>
</div>
<input type="text" id="userMessage" placeholder="Type a message..." />
<button id="sendMessage">Send</button>
<script src="popup.js"></script>
</body>
</html>