Skip to content

Commit

Permalink
Update votecreatenewtopic.html
Browse files Browse the repository at this point in the history
  • Loading branch information
z1fire authored Jan 13, 2024
1 parent cfd1143 commit 91b5b3d
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions votecreatenewtopic.html
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,23 @@ <h1 class="text-3xl font-bold mb-4 header-text text-center">Vote and Create Topi
<!-- Add more topics and voting buttons as needed -->

<!-- Topic Creation Form -->
<form action="#" method="post" class="topic-form">
<label for="newTopic">Create New Topic:</label>
<input type="text" id="newTopic" name="newTopic" class="tag-input" placeholder="Enter your new topic" required>
<button type="submit" class="vote-btn">Submit Topic</button>
</form>
<form action="#" method="post" class="topic-form">
<label for="newTopic">Create New Topic:</label>
<input type="text" id="newTopic" name="newTopic" class="tag-input" placeholder="Enter your new topic" required>

<!-- Category Selection -->
<div class="mb-4">
<label for="category" class="block mb-2">Select Category:</label>
<select id="category" name="category" class="w-full border rounded px-3 py-2" required>
<option value="cli">CLI Tools</option>
<option value="web">Web Development</option>
<!-- Add more categories as needed -->
</select>
</div>

<button type="submit" class="vote-btn">Submit Topic</button>
</form>

</div>
</main>
</div>
Expand Down

0 comments on commit 91b5b3d

Please sign in to comment.