How to make HTML login page validation with JavaScript?


#1

Hi All

I have designed login page and landing page using HTML (no other language). and Database created in MySQL workbench.

How do i complete the following:

  1. If credentials doesn’t match when logging in then it should redirect in same page and show error message like invalid username or password(no pop up).

  2. If credentials matches against database then it should redirect to landing page with welcome message and our first name last name already stored in the database.
    For both the questions mentioned above, I also require client side coding( HTML login page validation with JavaScript). I would be grateful if you can provide me the same.

If any best video tutorials regarding this problem if you have please share me the link.

Thank you
Venkatesh KH