-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (33 loc) · 1.58 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LetsChat</title>
<link rel="stylesheet" href="style.css">
<!--Bootstrap-->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor" crossorigin="anonymous">
<!--TinyMCE - WYSIWYG editor-->
<script src="https://cdn.tiny.cloud/1/no-api-key/tinymce/5/tinymce.min.js" referrerpolicy="origin"></script>
</head>
<body>
<section class="message-section">
<!--header part of the chatting application-->
<div class="header-data">
<img src="logo.png" alt="Logo" height="40" />
<h1>LetsChat</h1>
</div>
<!--Chat box of the chatting app where the messages will be displayed.-->
<div class="chat-box">
</div>
<div>
<!--Text area where user will enter the message.-->
<textarea id="textarea" cols="100" rows="1" class="form-control" placeholder="Enter Message..."></textarea>
<!--SEND button for sending message.-->
<button class="btn btn-outline-secondary" type="button" id="send-btn" onclick="showtext()" />SEND</button>
</div>
</section>
<script src="socket.io/socket.io.js"></script>
<script src="client.js"></script>
</body>
</html>