first commit

This commit is contained in:
usernames122
2025-08-07 23:58:45 +02:00
commit 3ff3a89f8e
7 changed files with 206 additions and 0 deletions

27
index.html Normal file
View File

@@ -0,0 +1,27 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>WebChat</title>
<script src="assets/js/chat.js"></script>
<link rel="stylesheet" href="assets/css/style.css">
<link rel="i"
</head>
<body onload="onload();">
<header>
<h2>WebChat</h2>
<div>
<h3 id="username" onclick="setUsername();"/>
</div>
</header>
<audio id="notify" src="assets/mp3/notify.mp3" hidden></audio>
<audio id="join" src="assets/wav/join.wav" hidden></audio>
<div class="container">
<div class="chatbox" id="chat-box">
<p class="chattext">Connecting to server...</p>
</div>
<div id="chatstuff" class="chatstuff">
<textarea rows="2" id="message" class="consolas" placeholder="Type your message..."></textarea>
<button onclick="sendMessage();" class="consolas" id="sendbutton">Send</button>
</div>
</body>
</html>