I need help with the part below and please add comments in the code to help me understand better what I am doing wrong in my own code. I have already created my database and the connection and some of...



I need help with the part below and please add comments in the code to help me understand better what I am doing wrong in my own code.


I have already created my database and the connection and some of the code but am stuck on these parts.



"Home" and "Create Account" pages



  • The
    index.phpfile will ask the user to log in to the system with a login form

    • If they're already logged in, the home page will

      NOT

      show the login form. It will show a "welcome to our store" type of message instead even if they click on the "home" button in the navigation.



  • The
    create-account.php
    page has them fill out a form for creating an account.

    • Use real-time JavaScript validation (and regex) to:

      • Verify that the password and "verify password" match as they are typing.

      • Verify that the password contains at least one number and is at least 8 characters long

      • Be sure to display user feedback messages on the screen as they type, e.g.:

        • Password must contain a number

        • Password must be 8 characters long

        • Password and "Verify Password" do not match.



      • Disable the "create account" button until the above conditions are met







Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here