Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need help making a simple address book, without using JSON or any other third party libraries! the names and info should be saved in a

Need help making a simple address book, without using JSON or any other third party libraries!

the names and info should be saved in a list/array, not a database or anything else.

Create an address book application using JavaScript (plus HTML and CSS). (Use plain JavaScript, no third party libraries!)

The required functionality is the following:

  • Entries
    • Entries have the following fields: name, telephone number, email
    • Individual entries must be represented as an Entry object
    • The contact list must be represented as an array of Entry objects
    • The application must be shipped with some sample initial data (meaning, with a non-empty address book)
  • Display a list of entries
    • Emails should be clickable links that open in the mail client
  • Add a search field to filter the list
    • Only those entries are displayed that contain the searched string as part of the name, telephone, or email
    • Matching is case-insensitive
  • The user can delete existing entries
    • Ask for a confirmation before deleting the entry
  • The user can add new entries
    • Perform input check
      • The name field must never be empty
      • Either tel or email has to be filled in
      • Email has to be a valid email
      • Tel may contain only numbers and + - ( ) and space

should look like this:

image text in transcribed

Add entry Name: Tel: Email: Add Don John 12-322-622 don.john@ymail.com Elizabeth Westland 66-112-312 e47wl@outlook.com DO DO MO John Smith 12-345-678 john.smith@gmail.com

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts Of Database Management

Authors: Joy L. Starks, Philip J. Pratt, Mary Z. Last

9th Edition

1337093424, 978-1337093422

More Books

Students also viewed these Databases questions

Question

Question Can any type of stock or securities be used in an ESOP?

Answered: 1 week ago

Question

Question Can a self-employed person adopt a money purchase plan?

Answered: 1 week ago