-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.htm
39 lines (39 loc) · 1.66 KB
/
index.htm
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dynamic Form Using HTML, CSS and JS</title>
<link rel="shortcut icon" href="https://miro.medium.com/v2/resize:fit:828/format:webp/1*zefe2p8VcwJ62hMH14b6gQ.jpeg" type="image/x-icon">
<link rel="stylesheet" href="./index.css">
</head>
<body>
<h1 class="heading">Registraion Form</h1>
<div class="div1">
<div class="div2">
<form action="" method="get" onsubmit="fetch()">
<h1>Please Fill the Form</Details></h1>
<label for="Name" class="name">Name:</label>
<input type="text" id="Name" placeholder="Enter Your Name">
<br>
<label for="Email" class="email">Email:</label>
<input type="email" id="Email" placeholder="Enter Your Email">
<br>
<label for="password" class="password">Password:</label>
<input type="password" id="Password" placeholder="Enter Your Password">
<br>
<label for="Gender" class="gender">Gender:</label>
<select name="Gender" id="Gender">
<option value="Male">Male</option>
<option value="Female">Female</option>
<option value="preder-not-to-say">Prefer not to say</option>
</select>
<br>
<input type="submit" value="submit" id="submit">
</form>
</div>
</div>
<script src="./index.js"></script>
</body>
</html>