Member-only story

Expense Tracker with Javascript

YvonneDev
3 min readDec 22, 2020

--

Course content from Brad Traversy

Github code

Features:

input value to DOM

onclick delete item based on id

localStorage to get and set

HTML:

the income has a plus sign value

the expense has a minus sign value

the balance is the total of income and expense

The history is a list of income or expense either getting from the localStorage or the value of the input.

The form is the input part with the text and amount. When submitting, the input value display in the DOM history.

CSS

--

--

YvonneDev
YvonneDev

Written by YvonneDev

❤️Front-end Web Development self-taught *share what I learned*

No responses yet