-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkout.html
42 lines (41 loc) · 1.42 KB
/
checkout.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
<!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>Checkout</title>
<style>
#navbar{
display: flex;
justify-content: space-between;
}
#movie{
text-align: center;
width: 40%;
margin: auto;
}
</style>
</head>
<body>
<div id="navbar">
<h1>Checkout | Cost: 100/seat</h1>
<h1 id="wallet"></h1>
<!-- Display the wallet amount here inside h1 tag with id as "wallet". Note only amount, no extra text. Like 500 not Rs 500 -->
</div>
<div id="user-detail">
<!-- input field to accept user name with id as "user_name" -->
<input placeholder="user name" type="text" id="user_name" />
<!-- input field to accept number of seats with id as "number_of_seats" -->
<input placeholder="no of seats" type="number" id="number_of_seats" />
<!-- A submit button to confirm booking with id as "confirm" -->
<button onclick="confirmbook()" id="confirm">Confirm Booking</button>
</div>
<div id="movie">
<!-- Append the selected movie for booking here -->
<!-- movie should have title and image -->
<!-- It should be the same movie you selected for booking -->
</div>
</body>
</html>
<script src="./scripts/checkout.js"></script>