-
Notifications
You must be signed in to change notification settings - Fork 0
/
fruitForm.html
49 lines (44 loc) · 1.87 KB
/
fruitForm.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Fruits Order Form</title>
<!-- Bootstrap stylesheet -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<!-- css stylesheet -->
<link rel="stylesheet" type="text/css" href="form.css">
</head>
<body>
<div class="container">
<h1 class="detail_title"><b>Add Details</b></h1>
<form class="order-form">
<label class="lab">Enter Your First Name</label>
<input class="textfield" type="text" name="fname" placeholder="First Name"><br>
<label class="lab">Enter Your Last Name</label>
<input class="textfield" type="text" name="lname" placeholder="Last Name"><br>
<label class="lab">Enter Your Address</label>
<input class="textfield tf1" type="text" name="address" placeholder="Address"><br>
<label class="lab">Enter Your Area Pincode</label>
<input class="textfield tf4" type="number" name="pincode" placeholder="Pincode"><br>
<label class="lab">Enter Quantity of Product</label>
<input class="textfield tf2" type="number" name="quantity" placeholder="Quantity"><br>
<label class="lab">Select Unit</label>
<select class="textfield tf3" name="unit" placeholder="Select Unit">
<option value="">Unit (gram / Kg)</option>
<option value="male">Gram</option>
<option value="female">Kilogram</option>
</select><br><br>
<button type="button" class="btn1 btn btn-outline-success" onclick="order()">Submit</button>
<button type="button" class="btn btn-outline-danger" onclick="cancel()">Cancel</button>
</form>
</div>
<script type="text/javascript">
function order(){
window.location.href = "thanku.html";
}
function cancel(){
window.location.href = "buyFruit.html";
}
</script>
</body>
</html>