This web application demonstrates the use of asynchronous programming and filtering data. Created using HTML, CSS and JavaScript, the web application adds a contact to the directory with their name, number and email. The contacts are added sequentically to the directory.
Contacts are dynamically searched as the user is typing the number. The directory can be sorted in ascending or descending order by clicking on the directory headings - Name, Mobile and Email.
Validation and error handing have also been enforced to provide the user with a seamless experience.
To run the web application:
- Navigate to the folder named "Web Application"
- Open the file "index.html" in your browser
- Enter the following information:
- Name (Alphabet/whitespace only and ≤ 20 characters)
- Number (Numbers only and ≤ 10 characters)
- Email (Format 'xxx@xxx.xx' and ≤ 40 characters)
|-- Web Application
| |-- Assets
| | |-- CSS
| | | '-- style.css
| | |-- JavaScript
| | | |-- addContact.js
| | | |-- displayContactSummary.js
| | | '-- sortFilter.js
| '-- index.html