-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfeedback.html
123 lines (106 loc) · 3.19 KB
/
feedback.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Awesome Feedback Form</title>
<style>
body {
margin: 0;
padding: 0;
font-family: 'Arial', sans-serif;
background: linear-gradient(to right, #FF6B6B, #56CCF2);
color: coral;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
overflow: hidden;
}
.container {
background: rgba(255, 255, 255, 0.9);
padding: 20px;
border-radius: 10px;
width: 400px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
animation: fadeIn 1s ease-in-out;
}
h2 {
color: #333;
}
form {
display: flex;
flex-direction: column;
}
label {
margin-top: 10px;
color:darkslategrey;
}
input,
textarea {
margin-bottom: 10px;
padding: 8px;
border: 1px solid #ccc;
border-radius: 5px;
}
button {
background:aquamarine;
opacity: 70%;
color:darkslategrey;
padding: 10px;
border: none;
border-radius: 5px;
cursor: pointer;
margin-top: 10px;
transition: background 0.3s ease-in-out;
}
button:hover {
background: #45a049;
}
/* Emoji feedback */
.emoji-feedback {
font-size: 2em;
margin-top: 10px;
cursor: pointer;
transition: transform 0.3s ease-in-out;
}
.emoji-feedback:hover {
transform: scale(1.2);
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
</style>
</head>
<body>
<div class="container">
<h2>Awesome Feedback Form</h2>
<form>
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<label for="feedback">Feedback:</label>
<textarea id="feedback" name="feedback" rows="4" required></textarea>
<div id="feedback-message" style="margin-top: 10px;"></div>
<form action="index.html">
<button><a href ="index.html">SUBMIT FEEDBACK</a></button>
</form>
</form>
</div>
<script>
function showFeedbackMessage(emoji, message) {
const feedbackMessage = document.getElementById('feedback-message');
feedbackMessage.innerHTML = <p>${emoji} ${message}</p>;
}
</script>
</body>
</html>