Skip to content

BrickLai/Contact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

My contacts

  • Introduction - the aim of the webpage
  • Technologies
  • Key Code
  • Launch
  • Introduction - the project's aim

    This page aims to save contacts' information, including their names, cities and emails.

    Technologies

  • HTML5
  • CSS3
  • Git
  • key Code

      if(inputName.length === 0) {
            alert('Name is required');
        } else if (inputCity.length === 0) {
            alert('City is required');
        } else if (inputEmail.length === 0) {
            alert('Email is  required')
        } else if (!emailRegex.test(inputEmail)) {
            alert('A valid email is  required')
        } else {
          for(let i = 0; i < arr.length; i++) {
            contact.innerHTML = `Name:${arr[i - 2]}<br>City:${arr[i - 1]}<br>Email:${arr[i]}`;
            contacts.insertBefore(contact, contacts.children[0]);
           } 
        }
    })
    

    Launch

    This webpage is prepared to launch, users can click the link to preview it.

    Click here to view the contact webpage

    About

    No description, website, or topics provided.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published