Files
  • index.html
  • script.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
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>Morse Code Chat</title>
    <link href="style.css" rel="stylesheet" type="text/css" />
    <link href="https://bootswatch.com/4/slate/bootstrap.min.css" rel="stylesheet" type="text/css">
    <script src="//cdnjs.cloudflare.com/ajax/libs/socket.io/2.2.0/socket.io.js" integrity="sha256-yr4fRk/GU1ehYJPAs8P4JlTgu0Hdsp4ZKrx8bDEDC3I=" crossorigin="anonymous"></script>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/src/js.cookie.min.js"></script>
  </head>
  <body>
    <div class="container">
        <div class='jumbotron text-center'>
            <h1>Your Name: {{ member.name }}</h1>
            <h1>Your Status: {{ member.status }}</h1>
        </div>
        <div class="row">
            <div class="col-sm-7 user-bar">
            </div>
            <div class="col-sm-5">
                <table class="table">
                <thead>
                    <tr>
                    <th scope="col">Code</th>
                    <th scope="col">Character</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                    <th scope="row">. -</th>
                    <td>A</td>
                    </tr>
                </tbody>
                </table>
            </div>
        </div>
    </div>
    <script src="script.js"></script>
  </body>
</html>
result
console