I made a complete working expenses tracker you can add income and expenses in it , it is fully working
you can add income by entering positive values
you can add expenses by adding - values
it saves what you have entered in local storage
I found it challenging to write js code and I got many bugs because I often forget the semi column