Skip to content

Commit 7fe4ac8

Browse files
authored
Merge pull request #1308 from yellowflash2041/main
Fix 2 issues in bank product.
2 parents 45981c4 + 24647d6 commit 7fe4ac8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

7-bank-project/solution/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ <h2 class="text-center">Register</h2>
3737
<input id="currency" name="currency" type="text" maxlength="5" value="$" required>
3838
<label for="description">Description</label>
3939
<input id="description" name="description" type="text" maxlength="100">
40-
<label for="balance">Current balance</label>
41-
<input id="balance" name="balance" type="number" value="0">
40+
<label for="current-balance">Current balance</label>
41+
<input id="current-balance" name="balance" type="number" value="0">
4242
<div id="registerError" class="error" role="alert"></div>
4343
<button>Register</button>
4444
</form>
@@ -52,17 +52,17 @@ <h2 class="text-center">Register</h2>
5252
<section class="dashboard-page">
5353
<header class="dashboard-header">
5454
<img class="dashboard-logo" src="logo.svg" alt="Squirrel Banking Logo">
55-
<h1 class="dashboard-title hide-xs">Squirrel Banking</span>
55+
<h1 class="dashboard-title hide-xs">Squirrel Banking</h1>
5656
<button onclick="logout()">Logout</button>
5757
</header>
5858
<div class="balance">
5959
<div>Balance</div>
6060
<span id="balance"></span>
61-
<span id="currency"></span>
61+
<span id="balance-currency"></span>
6262
</div>
6363
<div class="dashboard-content">
6464
<div class="transactions-title">
65-
<h2 id="description"></h2>
65+
<h2 id="transactions-description"></h2>
6666
<button onclick="addTransaction()">Add transaction</button>
6767
</div>
6868
<table class="transactions-table" aria-label="Transactions">

0 commit comments

Comments
 (0)