- 2

Can you help me please 🥺 ,By write this code

The web site must include a registration form and define the action when submitting that form. i. the first name, last name, e-mail, mobile phone number, address, and gender fields are required ii. the password will be accepted only if • the password must start with uppercase character. • the password must include 8 characters no more no less. • the password must include one digit at least.the password must include one special character like -, _, #, &, and *. • No white spaces allowed in the password. iii. The student must verify that the e-mail address is in the correct form. iv. The student must verify that the number of digits of the mobile phone number. v. The gender field must be selected from a menu (male or female only).

10th Jun 2021, 1:22 AM
Alaa Radwan
Alaa Radwan - avatar
10 ответов
+ 6
no, we are not codes providers... you must do it by yourself, and request for help at specific question/problem to get helped ;P
10th Jun 2021, 1:26 AM
visph
visph - avatar
+ 2
Alaa Radwan , your profile shows that you have just reached 2% of the javascript tutorial (may be you have also an other source for leaning?). i would recommend you to work through the tutorial and continue learning. also practice by solving adequate tasks. happy coding and good success!
10th Jun 2021, 5:57 PM
Lothar
Lothar - avatar
0
Using JavaScript
10th Jun 2021, 1:25 AM
Alaa Radwan
Alaa Radwan - avatar
0
I really do it but I don't know how to make the first capital letter in the password
10th Jun 2021, 1:33 AM
Alaa Radwan
Alaa Radwan - avatar
0
If you know about it ,tell me
10th Jun 2021, 1:34 AM
Alaa Radwan
Alaa Radwan - avatar
0
Alaa Radwan if 'password' is the name of your variable storing the password as a string, then to check if first character is uppercase letter you could do: var capital = password[0].toUpperCase() != password[0].toLowerCase() && password[0].toUpperCase() == password[0]; 'capital' will be set to true or false...
10th Jun 2021, 1:39 AM
visph
visph - avatar
0
Is the 'password' name an id for input of password ?
10th Jun 2021, 1:45 AM
Alaa Radwan
Alaa Radwan - avatar
0
'password' is an example variable name wich store the password you want to check, as a string...
10th Jun 2021, 1:46 AM
visph
visph - avatar
0
Ok, thanks much
10th Jun 2021, 1:54 AM
Alaa Radwan
Alaa Radwan - avatar
0
I am studying it at university, and I only took it two weeks ago
11th Jun 2021, 12:29 AM
Alaa Radwan
Alaa Radwan - avatar