Create a form that takes password and confirm password as input fields a. Using JavaScript, validate the password entered by the user in the form created in form. The password must only contain at least an alphabet in uppercase, an alphabet in lowercase, a number, a special character and must be at least 8 characters. b. Apply CSS to the forms created. use all three different types of CSS. If either of password or the confirmation password entered by the user is not in the correct format as specified by the JavaScript created in Question 3a, the colour of the textboxes should be change to red and if every rule is adhered, it should change to green
Create a form that takes password and confirm password as input fields a. Using JavaScript, validate the password entered by the user in the form created in form. The password must only contain at least an alphabet in uppercase, an alphabet in lowercase, a number, a special character and must be at least 8 characters. b. Apply CSS to the forms created. use all three different types of CSS. If either of password or the confirmation password entered by the user is not in the correct format as specified by the JavaScript created in Question 3a, the colour of the textboxes should be change to red and if every rule is adhered, it should change to green
Chapter12: Using Controls
Section: Chapter Questions
Problem 10E
Related questions
Question
Create a form that takes password and confirm password as input fields
a. Using JavaScript, validate the password entered by the user in the form created in form. The password must only contain at least an alphabet in uppercase, an alphabet in lowercase, a number, a special character and must be at least 8 characters.
b. Apply CSS to the forms created. use all three different types of CSS. If either of password or the confirmation password entered by the user is not in the correct format as specified by the JavaScript created in Question 3a, the colour of the textboxes should be change to red and if every rule is adhered, it should change to green
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 6 steps with 4 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning