-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (36 loc) · 1.41 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>DOLLARS</title>
<link rel="stylesheet" href="css/styles.css">
<link rel="icon" href="css/favicon_w3cub/favicon.ico">
<style>
@import url('https://fonts.googleapis.com/css2?family=Teko&display=swap');
body { font-family: Arial, sans-serif; text-align: center; }
.hidden { display: none; }
.login-container, .chat-container { margin-top: 50px; }
input, button { padding: 10px; margin: 5px; }
</style>
</head>
<body>
<!-- Password Screen -->
<div id="password-screen">
<h2>Enter Password</h2>
<input class="password" type="password" id="password-input" placeholder="Enter password">
<button class="password" id="password-button">Enter</button>
</div>
<!-- Chat Screen (Hidden by Default) -->
<div id="chat-screen" class="hidden">
<h1>DOLLARS</h1>
<img class="DollarsImg" src="css/favicon_w3cub/android-chrome-512x512.png" alt="Dollars-img">
<div id="messages"></div>
<input type="text" id="username" placeholder="Enter your username">
<input type="text" id="message" placeholder="Type a message">
<button class="send-button" onclick="sendMessage()">Send</button>
</div>
<script type="module" src="firebase.js"></script>
<script type="module" src="script.js"></script>
</body>
</html>