Skip to content

Commit 9540917

Browse files
authored
Merge pull request #1035 from VaibhavChougule236/feature/home-feedback-section
Fixe: add Feedback & Reviews section with rating, validation, and success alert
2 parents 5fbb5d2 + 4bbb804 commit 9540917

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

pages/index.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,26 @@ <h3>Google Login</h3>
147147
</div>
148148
</section>
149149

150+
<section class="feedback-container" id="feedback-section">
151+
<h3>We value your feedback!</h3>
152+
153+
<div class="stars">
154+
<input type="radio" name="rating" id="star5" value="5"><label for="star5"></label>
155+
<input type="radio" name="rating" id="star4" value="4"><label for="star4"></label>
156+
<input type="radio" name="rating" id="star3" value="3"><label for="star3"></label>
157+
<input type="radio" name="rating" id="star2" value="2"><label for="star2"></label>
158+
<input type="radio" name="rating" id="star1" value="1"><label for="star1"></label>
159+
</div>
160+
161+
<textarea id="feedback-text" placeholder="Leave your feedback (optional)..."></textarea>
162+
163+
<div class="feedback-buttons">
164+
<button class="submit-btn" onclick="submitFeedback()">Submit</button>
165+
<button class="skip-btn" onclick="skipFeedback()">Skip</button>
166+
</div>
167+
168+
<p id="feedback-message" class="feedback-msg"></p>
169+
</section>
150170
</main>
151171

152172
<!-- Footer -->

0 commit comments

Comments
 (0)