Create index.html

This commit is contained in:
Voxel 2025-04-15 14:51:10 -04:00 committed by GitHub
parent ef7c33d4a1
commit f0211ce034
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

32
forum/index.html Normal file
View file

@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>MilkNet Forum</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.jsdelivr.net/npm/@joeattardi/emoji-button@4.6.2/dist/index.min.js"></script>
</head>
<body>
<header>
<h1>MilkNet Forum</h1>
</header>
<div id="new-thread">
<h2>New Thread</h2>
<input type="text" id="thread-title" placeholder="Thread Title"><br>
<div class="emoji-wrap">
<textarea id="thread-content" placeholder="Post content..."></textarea>
<button class="emoji-button" data-target="thread-content">😊</button>
</div>
<input type="file" id="thread-image"><br>
<button onclick="createThread()">Post</button>
</div>
<hr>
<div id="threads"></div>
<script src="script.js"></script>
</body>
</html>