Skip to content

Commit 24647d6

Browse files
unique id
1 parent fb32e8a commit 24647d6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

7-bank-project/solution/index.html

Lines changed: 4 additions & 4 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>
@@ -58,11 +58,11 @@ <h1 class="dashboard-title hide-xs">Squirrel Banking</h1>
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)