-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (43 loc) · 1.57 KB
/
index.html
File metadata and controls
50 lines (43 loc) · 1.57 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
<!-- Frontend (public/index.html) -->
<!DOCTYPE html>
<html>
<head>
<title>Payment Gateway</title>
<link rel="stylesheet" href="/style.css">
</head>
<body>
<div class="container">
<h1>Payment Gateway</h1>
<!-- Payment Form -->
<div class="card">
<form id="paymentForm">
<div class="form-group">
<label>Card Number</label>
<input type="text" id="cardNumber" placeholder="4242 4242 4242 4242" required>
</div>
<div class="row">
<div class="form-group">
<label>Expiry Date</label>
<input type="text" id="expiry" placeholder="MM/YY" required>
</div>
<div class="form-group">
<label>CVV</label>
<input type="text" id="cvv" placeholder="123" required>
</div>
</div>
<div class="form-group">
<label>Amount</label>
<input type="number" id="amount" placeholder="100" required>
</div>
<button type="submit">Pay Now</button>
</form>
</div>
<!-- Order History -->
<div class="card">
<h2>Order History</h2>
<div id="orderHistory"></div>
</div>
</div>
<script src="/app.js"></script>
</body>
</html>