Build an object-oriented console address book application.
Task: Create a new project that implements a front-end for your Address Book.
What does the application do?
- Displays all the contacts.
- Allow the user to add contacts by filling out a form.
- Allow users to remove a contact by clicking a button.
Build Specifications:
- You can use code from part 1 as needed.
- Remove the while loop.
- Add a display method to the AddressBook. This method must update the DOM to display all the contacts from the AddressBook.
- Call display when the page first loads to show the contacts.
- Create a delete button next to each contact, clicking this button will call the deleteAt method on the AddressBook and then call display to update the DOM.
- Create a form on the page. When the form is submitted, call the add method on the AddressBook and then call display to update the DOM.