-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOrder.html
More file actions
115 lines (106 loc) · 5.2 KB
/
Order.html
File metadata and controls
115 lines (106 loc) · 5.2 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
<!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">
<link rel="stylesheet" href="demoR.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<title>Document</title>
</head>
<script>
function check(){
var a = document.getElementById("form9Example1").value;
var b = document.getElementById("form9Example2").value;
var c = document.getElementById("form9Example3").value;
var d = document.getElementById("form9Example4").value;
var e = document.getElementById("form9Example6").value;
var f = document.getElementById("typeEmail").value;
if((a != "") && (b != "") && (c != "") && (d != "") && (e !="") && (f != ""))
{
alert("**Your Order Is Placed successfully**");
document.getElementById("hre").href="demoR.html"
}else{
alert("Fill all the fields !!!")
}
}
</script>
<style>
.im{
background-image: url("https://images.unsplash.com/photo-1555505019-8c3f1c4aba5f?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxzZWFyY2h8Mnx8d29vZGVuJTIwYmFja2dyb3VuZHxlbnwwfHwwfHw%3D&w=1000&q=80");
background-size: cover;
}
</style>
<body class="im">
<div class="row mt-3 mx-3" style="margin-top:25px ;">
<div class="col-md-3">
<div style="margin-top: 50px; margin-left: 10px;" class="text-center">
<i id="animationDemo" data-mdb-animation="slide-right" data-mdb-toggle="animation"
data-mdb-animation-reset="true" data-mdb-animation-start="onScroll"
data-mdb-animation-on-scroll="repeat" class="fas fa-3x fa-shipping-fast text-white"></i>
</div>
</div>
<div class="col-md-9 justify-content-center">
<div class="card card-custom pb-4">
<div class="card-body mt-0 mx-5">
<div class="text-center mb-3 pb-2 mt-3">
<h4 style="color: #495057 ;">Delivery Details</h4>
<h5 style="color: #495057 ;">**Only Cash on Delivery**</h5>
</div>
<form class="mb-0">
<div class="row mb-4">
<div class="col">
<div class="form-outline">
<input type="text" id="form9Example1" class="form-control input-custom" value="" />
<label class="form-label" for="form9Example1">First name</label>
</div>
</div>
<div class="col">
<div class="form-outline">
<input type="text" id="form9Example2" class="form-control input-custom" value="" />
<label class="form-label" for="form9Example2">Last name</label>
</div>
</div>
</div>
<div class="row mb-4">
<div class="col">
<div class="form-outline">
<input type="text" id="form9Example3" class="form-control input-custom" value="" />
<label class="form-label" for="form9Example3">City</label>
</div>
</div>
<div class="col">
<div class="form-outline">
<input type="text" id="form9Example4" class="form-control input-custom" value="" />
<label class="form-label" for="form9Example4">Mobile No</label>
</div>
</div>
</div>
<div class="row mb-4">
<div class="col">
<div class="form-outline">
<input type="text" id="form9Example6" class="form-control input-custom" value="" />
<label class="form-label" for="form9Example6">Address</label>
</div>
</div>
<div class="col">
<div class="form-outline">
<input type="email" id="typeEmail" class="form-control input-custom" value="" />
<label class="form-label" for="typeEmail">Email</label>
</div>
</div>
</div>
<div class="float-end ">
<!-- Submit button -->
<button type="button" class="btn btn-primary btn-rounded"
style="background-color: #0062CC ;" onclick="check()"><a id="hre" href="#" class="text-decoration-none text-light">Place order</a></button>
</div>
</form>
</div>
</div>
</div>
</div>
</body>
</html>