-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfeedback.html
58 lines (58 loc) · 1.47 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
<head>
<style>
div{
text-align: center;
display: block;
}
div input{
border-radius: 30px;
}
form{
background-color: lightblue;
width: 30%;
margin-left: 35%;
border-radius: 40px;
border: 3px black solid;
padding: 20px 0;
}
</style>
<title>Feedback</title>
</head>
<body>
<form action="submit.php" method="GET" >
<div>
<label for="name">Enter Your name</label>
<br>
<input id="name" type="text" >
</div>
<div>
<label for="email">Enter Your Email</label>
<br>
<input type="email" id="email">
</div>
</div>
<div>
<label for="address">Enter Your Address</label>
<br>
<input type="text" id="address">
</div>
</div>
<div>
<br>
<textarea style="border: 2px black solid; border-radius: 10px;" name="feedback" cols="50" rows="20" placeholder="Enter Your FeedBack here"></textarea>
</div>
</div>
<div style="padding-top: 10px;">
<input type="submit" value="Submit">
</div>
</form>
<!-- this is javascript code if the user click ok he will stay on this page otherwise he will be directed to previous page -->
<script>
var con=window.confirm('Are want to give a feedback')
if(con){
}
else{
window.history.back();
}
</script>
</body>