-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from CchristiNana/feedback-form-page-creation-…
…Shiyu Feedback form page creation shiyu
- Loading branch information
Showing
3 changed files
with
144 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Feedback Form</title> | ||
<style> | ||
body { | ||
font-family: Arial, sans-serif; | ||
background: #f4f4f4; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
.container { | ||
max-width: 600px; | ||
margin: 50px auto; | ||
background: #fff; | ||
padding: 20px; | ||
} | ||
h1, p { | ||
text-align: center; | ||
} | ||
.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; | ||
} | ||
.star-rating label { | ||
font-size: 40px; | ||
padding: 10px; | ||
color: #d3d3d3; | ||
} | ||
.star-rating input:checked ~ label { | ||
color: #ffd700; | ||
} | ||
.feedback-form { | ||
text-align: center; | ||
} | ||
.feedback-form input[type="text"], | ||
.feedback-form input[type="email"], | ||
.feedback-form textarea { | ||
width: 90%; | ||
padding: 10px; | ||
margin: 10px 0; | ||
border: 1px solid #ddd; | ||
border-radius: 5px; | ||
} | ||
.feedback-form input[type="submit"] { | ||
background-color: #5f27cd; | ||
color: white; | ||
padding: 10px 20px; | ||
border: none; | ||
border-radius: 5px; | ||
cursor: pointer; | ||
font-size: 16px; | ||
} | ||
.feedback-form input[type="submit"]:hover { | ||
background-color: #341f97; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1>Feedback Page</h1> | ||
<p>We would love your feedback</p> | ||
<p>Our goal is to make a platform that simplifies your workday. You’ve been using Thoth Tech Documentation Website for a while now, and we’d love to know what you think about it. We really appreciate your feedback!</p> | ||
|
||
<div class="star-rating"> | ||
<input type="radio" id="star5" name="rating" value="5" /><label for="star5">★</label> | ||
<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"> | ||
<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> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Feedback Submitted</title> | ||
<style> | ||
body { | ||
font-family: Arial, sans-serif; | ||
background: #f4f4f4; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
.container { | ||
max-width: 600px; | ||
margin: 50px auto; | ||
background: #fff; | ||
padding: 20px; | ||
} | ||
h1, p { | ||
text-align: center; | ||
} | ||
.feedback-message { | ||
background-color: #ffc0cb; /* Light pink background */ | ||
color: #333; | ||
padding: 20px; | ||
margin: 30px 0; | ||
border-radius: 8px; | ||
text-align: center; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1>Feedback Submitted</h1> | ||
<p>We would love your feedback</p> | ||
<p>Our goal is to make a platform that simplifies your workday. You’ve been using Thoth Tech Documentation Website for a while now, and we’d love to know what you think about it. We really appreciate your feedback!</p> | ||
|
||
<div class="feedback-message"> | ||
<h2>Thanks for sharing your feedback with us</h2> | ||
<p>Your feedback has been submitted successfully.</p> | ||
<p>Your input is valuable to us and will help us improve our services.</p> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters