-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpayment.html
111 lines (106 loc) · 2.64 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
103
104
105
106
107
108
109
110
111
<!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>Document</title>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons+Outlined"
rel="stylesheet">
</head>
<style>
body {
background-color: #e3e6e3;
padding: 0;
margin: 0;
}
#container{
display:flex;
width:60%;
height:500px;
margin:auto;
margin-top: 30px;
padding:20px;
gap:20px;
background-color: whitesmoke;
font-size: 14px;
font-family: helvetica, "Segoe UI", Arial, sans-serif;
}
#amount{
flex:2;
padding-left:30px;
background-color: white;
}
#cardDetails{
flex:3;
background-color: white;
}
#amount>div{
display: flex;
width:70px;
cursor: pointer;
margin-bottom: 40px;
}
#amount span{
margin-top:10px;
margin-right: 5px;
}
#secline{
display: flex;
gap:20px;
}
#cardDetails{
padding:20px;
}
#cardDetails input{
height: 30px;
margin-bottom: 30px;
}
#cardDetails>button{
width:358px;
height:30px;
background-color: #4a90e2;
border:none;
}
#cardNum, #name {
width:350px;
}
</style>
<body>
<div id="container">
<div id="amount">
<div id="back" onclick="backtoplan()">
<span class="material-icons-outlined">
keyboard_backspace
</span>
<p>Back</p>
</div>
<h2>Enter new card</h2>
<h3 id="payable_amt"></h3>
</div>
<div id="cardDetails">
<div id="firstline">
<p>New Card</p>
<input type="number" id="cardNum" placeholder="Enter Card Number">
</div>
<div id="secline">
<div>
<p>Expiry</p>
<input type="number" id="expiry" placeholder="MM/YY">
</div>
<div>
<p>CVV</p>
<input type="number" id="cvv" placeholder="Enter CVV">
</div>
</div>
<div id="thirdline">
<p>Name on Card</p>
<input type="text" id="name" placeholder="Name on card">
</div>
<button onclick="done()">PROCEED</button>
</div>
</div>
</body>
</html>
<script src="./scripts/payment.js">
</script>