Skip to content

Commit

Permalink
fix star rating order
Browse files Browse the repository at this point in the history
  • Loading branch information
CchristiNana committed May 5, 2024
1 parent d1e8a33 commit 502f51a
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions public/feedbackform.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
.star-rating {
text-align: center;
font-size: 0;
display: flex;
flex-direction: row-reverse; /* Reverse the order of children */
justify-content: center;
}
.star-rating input {
display: none;
Expand Down Expand Up @@ -69,12 +72,10 @@ <h1>Feedback Page</h1>

<div class="star-rating">
<input type="radio" id="star5" name="rating" value="5" /><label for="star5"></label>
<<<<<<< Updated upstream
<input type="radio" id="star4" name="rating" value="4" /><label for="star4"></label>
<input type="radio" id="star3" name="rating" value="3" /><label for="star3"></label>
<input type="radio" id="star2" name="rating" value="2" /><label for="star2"></label>
<input type="radio" id="star1" name="rating" value="1" /><label for="star1"></label>
=======
</div>

<form class="feedback-form" action="/submitsuccess.html" method="post">
Expand All @@ -86,25 +87,10 @@ <h1>Feedback Page</h1>
<input type="radio" id="improvement" name="feedback_type" value="improvement" />
<label for="improvement">Improvement Idea</label>
</div>
<input type="hidden" name="access_key" value="2f6518a2-a330-4048-b003-4584019c7344">
<textarea name="comment" placeholder="Add your feedback" rows="4" required></textarea>
<input type="submit" value="SUBMIT" />
</form>
>>>>>>> Stashed changes
</div>

<form class="feedback-form" action="/submitsuccess.html" method="post">
<input type="text" name="name" placeholder="Name" required>
<input type="email" name="email" placeholder="Email" required>
<div>
<input type="radio" id="suggestion" name="feedback_type" value="suggestion" checked>
<label for="suggestion">Suggestion</label>
<input type="radio" id="improvement" name="feedback_type" value="improvement">
<label for="improvement">Improvement Idea</label>
</div>
<textarea name="comment" placeholder="Add your feedback" rows="4" required></textarea>
<input type="submit" value="SUBMIT">
</form>
</div>
</body>
</html>

0 comments on commit 502f51a

Please sign in to comment.