Java Script


  • Create a web-day3 repository on GitLab.

  • Create a registration form similar to the following form:

  • Write down a list of rules needed for all the fields in the form, for example:

    • Name fields should required and accept only letters.

    • Company Facebook page should be valid url that starts with

  • Using JavaScript, apply all these rules in functions that should be called when the user clicks submit, and show error message on failure, or success if everything is okay.

  • Push your work to GitLab.