/Js_AddressBook_WithAddition

Build an object-oriented console address book application. (JavaScript)

Primary LanguageJavaScript

Js_AddressBook_WithAddition

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?

  1. Displays all the contacts.
  2. Allow the user to add contacts by filling out a form.
  3. Allow users to remove a contact by clicking a button.

Build Specifications:

  1. You can use code from part 1 as needed.
  2. Remove the while loop.
  3. Add a display method to the AddressBook. This method must update the DOM to display all the contacts from the AddressBook.
  4. Call display when the page first loads to show the contacts.
  5. 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.
  6. 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.

Address Book Address Book