Answered step by step
Verified Expert Solution
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
- Perform input check
should look like this:
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.comStep 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