forked from RdotSilva/Banking-App
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
80 lines (79 loc) · 3.53 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="stylesheet.css">
<title>Banking App</title>
</head>
<body>
<h1 id="bank_title">Banking App</h1>
<div id="balance_info">
<p>Please enter your starting balances below.</p>
<form id="balance_form">
Checking Balance:<br>
<input type="number" name="checking_balance" id="checking_balance" class="enter_balance"><br>
Savings Balance:<br>
<input type="number" name="savings_balance" id="savings_balance" class="enter_balance"><br><br>
<input type="button" value="Submit" id="submit_balance" form="balance_form">
</form>
</div>
<div class="row">
<div class="bank" id="checking_info">
<h2>Checking Account</h2>
<p id="current_checking_balance">Current Balance: </p>
<div id="enter_transaction">
<form id="transaction_form">
Amount:<br>
<input type="number" name="transaction_amount" id="transaction_amount" class="transaction"><br>
<div id="desc">
Description:<br>
<input type="text" name="transaction_description" id="transaction_description" class="transaction"><br>
</div>
<select name="transaction_type" id="transaction_type" class="trans_type">
<option value="Debit">Debit</option>
<option value="Deposit">Deposit</option>
<option value="Withdraw">Withdraw</option>
<option value="Transfer">Transfer</option>
</select>
<input type="button" value="Submit" id="submit_transaction" form="transaction_form" class="submit_trans">
</form>
<br>
</div>
<table id="trans_table">
<tr class="top_of_table">
<th>Transaction Type</th>
<th>Descripton</th>
<th>Amount</th>
<th>Balance</th>
</tr>
</table>
</div>
<div class="bank" id="savings_info">
<h2>Savings Account</h2>
<p id="current_savings_balance">Current Balance: </p>
<div id="enter_transaction_savings">
<form id="transaction_form_savings">
Amount:<br>
<input type="number" name="transaction_amount" id="transaction_amount_savings" class="transaction"><br>
<select name="transaction_type" id="transaction_type_savings" class="trans_type">
<option value="Deposit">Deposit</option>
<option value="Withdraw">Withdraw</option>
<option value="Transfer">Transfer</option>
</select>
<input type="button" value="Submit" id="submit_transaction_savings" form="transaction_form" class="submit_trans">
</form>
<br>
</div>
<table id="trans_table_savings">
<tr class="top_of_table">
<th>Transaction Type</th>
<th>Descripton</th>
<th>Amount</th>
<th>Balance</th>
</tr>
</table>
</div>
</div>
</body>
</html>
<script src="BankingApp.js"></script>