how to code for verification of password what will be TAGs for it | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how to code for verification of password what will be TAGs for it

please tell me

8th Sep 2016, 9:00 PM
Jack
6 Answers
+ 1
TAGs? Also, a proper password verification has to be server-side.
8th Sep 2016, 9:03 PM
Zen
Zen - avatar
+ 1
You can use <input type="password"> for a password field if this is what you are asking for.
8th Sep 2016, 9:06 PM
Zen
Zen - avatar
+ 1
Well, let's say that you have some javascript client-side that does the checking (which should NOT be the case because everyone can read the javascript file client-side and see the password, but if it's just for learning, that's fine). You have an input field (not necessarily a password-type one, that's just to hide the input) and a button, and when pressing that button, you want to check if what is entered in the field is equal to a particular string, in which case you do something special. http://code.sololearn.com/Wwm58FtZdh99
8th Sep 2016, 9:30 PM
Zen
Zen - avatar
+ 1
A basic login template: http://code.sololearn.com/W0zEZuH3od73 (You need to have some php set up server-side for a working one. You can't do that on Code Playground and have to set up Apache on your machine instead.)
8th Sep 2016, 10:06 PM
Zen
Zen - avatar
0
tag mean like <html>,<body>
8th Sep 2016, 9:03 PM
Jack
0
and what will be for server side? Sir
8th Sep 2016, 9:07 PM
Jack