Merge pull request #1308 from yellowflash2041/main

Fix 2 issues in bank product.
This commit is contained in:
chris 2024-08-26 23:28:23 +01:00 коммит произвёл GitHub
Родитель 45981c4319 24647d6471
Коммит 7fe4ac89ba
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -37,8 +37,8 @@
<input id="currency" name="currency" type="text" maxlength="5" value="$" required>
<label for="description">Description</label>
<input id="description" name="description" type="text" maxlength="100">
<label for="balance">Current balance</label>
<input id="balance" name="balance" type="number" value="0">
<label for="current-balance">Current balance</label>
<input id="current-balance" name="balance" type="number" value="0">
<div id="registerError" class="error" role="alert"></div>
<button>Register</button>
</form>
@ -52,17 +52,17 @@
<section class="dashboard-page">
<header class="dashboard-header">
<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>
</header>
<div class="balance">
<div>Balance</div>
<span id="balance"></span>
<span id="currency"></span>
<span id="balance-currency"></span>
</div>
<div class="dashboard-content">
<div class="transactions-title">
<h2 id="description"></h2>
<h2 id="transactions-description"></h2>
<button onclick="addTransaction()">Add transaction</button>
</div>
<table class="transactions-table" aria-label="Transactions">