-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
115 lines (102 loc) · 2.37 KB
/
index.html
File metadata and controls
115 lines (102 loc) · 2.37 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
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
112
113
114
115
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
background-color: #f4f4f4;
}
.wallet-container {
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center;
width: 300px;
}
h1 {
color: #333;
}
.balance-section p {
margin: 5px 0;
font-size: 1.1em;
}
.balance-amount {
font-size: 2em;
font-weight: bold;
color: #28a745; /* Green for balance */
}
.transaction-input {
margin: 20px 0;
}
.transaction-input input {
width: calc(100% - 22px);
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ddd;
border-radius: 4px;
}
.transaction-input button {
padding: 10px 15px;
margin: 5px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 1em;
color: #fff;
}
#deposit-btn {
background-color: #28a745; /* Green */
}
#withdraw-btn {
background-color: #dc3545; /* Red */
}
#transaction-list {
list-style: none;
padding: 0;
max-height: 150px;
overflow-y: auto;
border-top: 1px solid #eee;
margin-top: 15px;
}
#transaction-list li {
padding: 8px 0;
border-bottom: 1px solid #eee;
display: flex;
justify-content: space-between;
align-items: center;
}
#transaction-list li:last-child {
border-bottom: none;
}
!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ClarityVault2026 - My Wallet</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="wallet-container">
<h1>ClarityVault2026</h1>
<div class="balance-section">
<p>Current Balance:</p>
<p class="balance-amount">$0.00</p>
</div>
<div class="transaction-input">
<input type="number" id="amount" placeholder="Enter amount">
<button id="deposit-btn">Deposit</button>
<button id="withdraw-btn">Withdraw</button>
</div>
<div class="history-section">
<h2>Transaction History</h2>
<ul id="transaction-list">
<!-- Transactions will be added here by JavaScript -->
</ul>
</div>
</div>
<script src="script.js"></script>
</body>
</html>