-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (41 loc) · 1.48 KB
/
index.html
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
40
41
42
43
44
45
46
47
48
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>A chat app</title>
<link rel="stylesheet" href="styles.css">
</head>
<body id="app">
<div id="contacts">
<div class="header">
<div class="inputDiv">
<span class="inputContainer">
<span class="inputIcon"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-search"
viewBox="0 0 16 16">
<path
d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" />
</svg></span>
<input type="text" class="inputField" placeholder="Search for a contact" id="contactSearch" />
</span>
</div>
</div>
<div id="allContacts">
</div>
</div>
<div id="chat">
<div id="chatHeader" class="header">
</div>
<div id="allMessages" class="messages">
</div>
<div class="inputDiv bgGrey">
<span class="inputContainer">
<textarea class="inputField" rows = "1" placeholder="Type a message" id="newMessage"></textarea>
</span>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://unpkg.com/validator@latest/validator.min.js"></script>
<script src="index.js"></script>
</body>
</html>