Question
Create a basic HTML file. You are required to create a budgeting website with the following specifications: Create an income object where you can put
Create a basic HTML file. You are required to create a budgeting website with the following specifications: Create an income object where you can put in the following information as attributes: Name, as a string (E.g. Salary) The amount, as a number (E.g. 4000) Whether or not it is recurring, as a boolean Create 5 different objects to represent income from different places. Create an expenses object where you can put in the following information as attributes: Name, as a string (E.g. Groceries) The amount, as a number (E.g. 350) Whether or not it is recurring, as a boolean Create 5 different objects to represent different expenses. Using a prompt box, display the income items and let the user add another entry. Using a prompt box, display the expenses items and let the user add another entry. Display the total amount of disposable income (income minus expenses) Using a prompt box, ask the user how much of their disposable income they would like to put into savings. Finally, create an alert to display the total amount of disposable income left.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started