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

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter12: Using Controls
Section: Chapter Questions
Problem 10E
icon
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
steps

Step by step

Solved in 6 steps with 4 images

Blurred answer
Knowledge Booster
Hyperlinks
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning