-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDatingWesbiteProjpart3.html
More file actions
157 lines (121 loc) · 3.87 KB
/
Copy pathDatingWesbiteProjpart3.html
File metadata and controls
157 lines (121 loc) · 3.87 KB
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="By Pulkit" content="Dating Website Project">
<title>DATING WEBSITE</title>
<style type="text/css">
form {font-weight: bold;
}
.field{
border:10px solid yellow;
background:lightyellow;
margin-bottom:10px;
width: 720px;
}
.al input{
margin-bottom: 7px;
}
.al label{
float: left;
width: 180px;
text-align: right;
padding-right: 10px;
}
.al label:hover
{
font-size: 17px;
}
input:hover{
font-size: 17px;
}
#sh {
background-color: red; color:azure; font-size:larger;
}
#ta {
background-color: purple; color:azure ; font-size:larger;
}
#po {
background-color: red; color:azure; font-size:larger;
}
#ri {
background-color: purple; color:azure ; font-size:larger;
}
#nam, #ag, #dob, #color, #country, #email, #mobile, #address{
width:360px;
height:50px;
}
</style>
<script src="https://www.cse.ust.hk/~rossiter/dating_web_site.js"></script>
</head>
<body>
<h1>Please Enter Your Details For Our Dating Website!</h1>
<form action=" http://ihome.ust.hk/~rossiter/cgi-bin/show_everything.php" method="post" enctype= "multipart/form-data">
<fieldset class= "field" >
<legend > <h3>Your Face</h3></legend>
<div class="al">
<label class="txt" for="imgreceived">Your Image:</label> <input type="file" name="imgreceived" id = "imgreceived" required/><br>
<label for ="preview">Image Preview:</label> <img id="preview" width="100px" >
</div>
</fieldset>
<br>
<fieldset class ="field">
<legend > <h3>Your General Details</h3></legend>
<div class="al">
<label class="txt" for="nam">Name:</label>
<input type="text" name="nam" id="nam" placeholder ="Your Full Name" required><br>
<label class="txtr" for="gen">Gender:</label>
<input type="radio" name="gen" value="male" id = "gen" required>Male
<input type="radio" name="gen" value="female" id ="gen" required>Female<br>
<label class="txt" for="id">Age:</label>
<input type="number" name="age" id="ag" min="0" max="99" required><br>
<label class="txt"for="dob">Date of birth:</label>
<input type="date" name="dob" id="dob"><br>
<label class="txt" for="color">Favourite color:</label>
<input type="color" name="color" id="color"><br>
<label class="txt" for="country">Country:</label>
<select name="country" id="country">
<option value="">No Selection</option>
<option value="AF">Afghanistan</option>
<option value="AL">Albania</option>
<option value="DZ">Algeria</option>
<option value="AS">USA</option>
<option value="NA">Canada</option>
</select><br>
</div>
</fieldset>
<br>
<fieldset class ="field">
<legend ><h3>Your Indicators</h3> </legend>
<div class="al">
<label class="txt"for="height">Height:</label>
<span id="sh">Short</span>
<input type="range" name="height" id = "height" min="0" max = "100" />
<span id="ta">Tall</span><br>
<label class="txt" for="salary">Salary:</label>
<span id="po">Poor</span>
<input type="range" name="salary" min="0" max = "100"/>
<span id="ri">Rich</span>
</div>
</fieldset>
<br>
<fieldset class ="field">
<legend ><h3>Your Contact Information</h3></legend>
<div class="al">
<label class="txt" for = "email">Email:</label>
<input type="email" name="email" id = "email" required><br>
<label class="txt" for="mobile">Mobile:</label>
<input type="tel" name="mobile" id="mobile"><br>
<label class="txt" for="address">Address:</label>
<textarea name="address" rows="4" cols="30" id="address"></textarea><br>
<label class="txtr">Method to contact you:</label>
<input type="checkbox" name="checked" value="email">Email
<input type="checkbox" name="checked" value="whatsapp" >Whatsapp
<input type="checkbox" name="checked" value="inappchat">In-app chat
</div>
</fieldset>
<br>
<input type="submit" value="Submit!!">
</form>
</body>
</html>