jappleba / js-atm-function-based

Build a function based Automated Teller Machine (ATM)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code Challenge 11 - ATM (functional version)

This challenge asks that you to build a functioning ATM that allows a user to select from deposit or withdraw to add and subtract from their balance. The current balance should be displayed below and update with each transaction.

Tasks

  1. Fork this repository.
  2. Clone your fork.
  3. cd into folder for this repo.
  4. In the js/atm.js file insert the JavaScript code necessary to make the ATM function. Users should be able to deposit and withdraw money and see updated balance with each transaction. See a live working example at the site here

Bonus: style the select menu to trigger showing and hiding the amount input and submit button depending on if they are needed for the selection.

Make use of your knowledge of functions to make this work!

View this lesson on Learn.co

About

Build a function based Automated Teller Machine (ATM)

License:Other


Languages

Language:JavaScript 94.0%Language:CSS 3.7%Language:HTML 2.3%