0
How to make login alert?
i want that only when i write correct password only then it allow me to access the link website.
2 ответов
+ 1
i dont know in which language u r trying this but the simple way(not the best) to do this, u can ask for a input with login and password and try to compare, like :
<form action="adduser" method="post" onsubmit='passwordCheck();'>
Email Address: <input type="email" name="email" required autocomplete="on" placeholder="fr@star.com"/><br/>
Username: <input type="text" name="username" maxlength=25 required placeholder="JoyfulSophia"/><br/>
Password: <input type="password" name="password" id='password' onkeydown='checkPassword()' maxlength=30 required placeholder="**********" />
Password (Again): <input type='password' id='pass_repeat'/>
<br/>
<br/>
<input type="submit" value="Send" /> <input type="reset">
</form>
//This is using html and javascript
+ 1
thanks bro