Acamica's 2nd Project. Building the code of a home banking system using JS.
- Open index.html file in your browser (Chrome recommended).
- Complete the first alert with password: 32804, otherwhise the balance will change to zero.
- After the password validation, you will see the default balance, in this case $5000.
- As default, your extraction limit is $10000.
- Friends accounts numbers (to transfer money): 1234567 or 7654321.
- Some actions you can do:
- Extract money (Extraer dinero).
- Deposit money (Depositar dinero).
- Pay for services (Pagar servicios).
- Transfer money (Transferir dinero).
- Change your extraction limit (Cambiar límite de extracción).
- Triggering conditionals alerts:
- Input values like "-" or strings with or without numbers.
- If you try to extract more money than your extraction limit allows you.
- Input a null value (accept button).
- If there's an empty input, nothing happens (cancel button).
- After any action like extract or deposit, it will trigger a confirmation alert showing the value with both the last and the actual balance.