Merge pull request #1308 from yellowflash2041/main

Fix 2 issues in bank product.
pull/1318/head
chris 3 months ago committed by GitHub
commit 7fe4ac89ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -37,8 +37,8 @@
<input id="currency" name="currency" type="text" maxlength="5" value="$" required> <input id="currency" name="currency" type="text" maxlength="5" value="$" required>
<label for="description">Description</label> <label for="description">Description</label>
<input id="description" name="description" type="text" maxlength="100"> <input id="description" name="description" type="text" maxlength="100">
<label for="balance">Current balance</label> <label for="current-balance">Current balance</label>
<input id="balance" name="balance" type="number" value="0"> <input id="current-balance" name="balance" type="number" value="0">
<div id="registerError" class="error" role="alert"></div> <div id="registerError" class="error" role="alert"></div>
<button>Register</button> <button>Register</button>
</form> </form>
@ -52,17 +52,17 @@
<section class="dashboard-page"> <section class="dashboard-page">
<header class="dashboard-header"> <header class="dashboard-header">
<img class="dashboard-logo" src="logo.svg" alt="Squirrel Banking Logo"> <img class="dashboard-logo" src="logo.svg" alt="Squirrel Banking Logo">
<h1 class="dashboard-title hide-xs">Squirrel Banking</span> <h1 class="dashboard-title hide-xs">Squirrel Banking</h1>
<button onclick="logout()">Logout</button> <button onclick="logout()">Logout</button>
</header> </header>
<div class="balance"> <div class="balance">
<div>Balance</div> <div>Balance</div>
<span id="balance"></span> <span id="balance"></span>
<span id="currency"></span> <span id="balance-currency"></span>
</div> </div>
<div class="dashboard-content"> <div class="dashboard-content">
<div class="transactions-title"> <div class="transactions-title">
<h2 id="description"></h2> <h2 id="transactions-description"></h2>
<button onclick="addTransaction()">Add transaction</button> <button onclick="addTransaction()">Add transaction</button>
</div> </div>
<table class="transactions-table" aria-label="Transactions"> <table class="transactions-table" aria-label="Transactions">

Loading…
Cancel
Save