-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (39 loc) · 1.2 KB
/
index.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
<!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>Add Amount</title>
<style>
#navbar{
display: flex;
justify-content: space-between;
}
#add-money{
/* border: 1px solid gold; */
width: 10%;
text-align: center;
margin: auto;
display: grid;
gap: 5px;
}
</style>
</head>
<body>
<div id="navbar">
<h1>Add Money to wallet</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="add-money">
<!-- input box for accepting money with id as "amount" -->
<input type="number" id="amount"/>
<!-- button with id as "add_to_wallet" -->
<button onclick="addMoney()"id="add_to_wallet">add to wallet</button>
<!-- button with id as "book_movies" to go to movies.html -->
<button><a href="./movies.html">book movies</a></button>
</div>
</body>
</html>
<script src="./scripts/index.js"></script>