-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpayment.html
102 lines (84 loc) · 2.98 KB
/
payment.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
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
<!DOCTYPE html>
<html>
<head>
<style>
body {
font-family: Arial;
font-size: 20px;
padding: 8px;
}
* {
box-sizing: border-box;
}
div{border: solid black; height:80%; width:60%;background-color: #F6EEE0;}
input[type=text],input[type=email],input[type=number] {
width: 60%;
margin-bottom: 20px;
padding: 12px;
border: 1px solid #ccc;
border-radius: 3px;
}
label {
margin-bottom: 10px;
display: block;
}
.btn {
background-color: #04AA6D;
color: white;
padding: 12px;
margin: 10px 0;
width: 50%;
border-radius: 3px;
cursor: pointer;
font-size: 17px;
}
.btn:hover {
background-color: #45a049;
}
a {
color: #2196F3;
}
hr {
border: 1px solid lightgrey;
}
span.price {
float: right;
color: grey;
}
</style>
</head>
<body style ="background-color:#D79771;">
<form action="https://maitri-vv.github.io/coffeeshop.github.io/index.html">
<center>
<div>
<h2 style="font-family:Georgia;">Billing Address</h2>
<label for="fname"> Full Name</label>
<input type="text" id="fname" name="firstname" placeholder="Maitri Vaghasiya" required>
<label for="email">Email</label>
<input type="email" id="email" name="email" placeholder="[email protected]" required>
<label for="adr"> Address</label>
<input type="text" id="adr" name="address" placeholder="Rose Villa, Houston,NY" required>
<label for="city">City</label>
<input type="text" id="city" name="city" placeholder="Houston" required>
<label for="state">State</label>
<input type="text" id="state" name="state" placeholder="NY" required>
<h3>Payment</h3>
<label for="fname">Accepted Cards</label>
<label for="cname">Name on Card</label>
<input type="text" id="cname" name="cardname" placeholder="Maitri Vaghasiya" required>
<label for="ccnum">Credit card number</label>
<input type="number" id="ccnum" name="cardnumber" placeholder="1111-2222-3333-4444" required>
<label for="expmonth">Exp Month</label>
<input type="text" id="expmonth" name="expmonth" placeholder="September" required>
<label for="expyear">Exp Year</label>
<input type="number" id="expyear" name="expyear" placeholder="2018" required>
<label for="cvv">CVV</label>
<input type="number" id="cvv" name="cvv" placeholder="352" required>
<label>
<input type="checkbox" name="sameadr"> Shipping address same as billing
</label>
<input type="submit" button onclick="location.href ='https://maitri-vv.github.io/coffeeshop.github.io/index.html' " onclick ="alert('Payment Done Successfully')" value="Continue to checkout" class="btn">
</div>
</center>
</body>
</html>