Files
  • index.html
  • favicon.png
  • loading.svg
  • script.js
  • store.js
  • style.css
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
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>repl.store chat</title>
    <link rel="shortcut icon" type="image/x-icon" href="favicon.png" />
    <link rel='stylesheet' href='https://cdn.jsdelivr.net/gh/kognise/[email protected]/dist/light.min.css'>
    <link href="style.css" rel="stylesheet" type="text/css" />
  </head>
  <body>
    <h2>Chat with repl.store 💭</h2>

    <section id="chat">
      <img src="loading.svg">
    </section>

    <br>

    <form>
      <input placeholder="Chat Here 💬">
      <button>Send 🚀</button>
    </form>
    
    <script src="https://store--jajoosam.repl.co/socket.io/socket.io.js"></script>
    <script src="store.js"></script>
    <script src="script.js"></script>
  </body>
</html>
result
console