Posts

Showing posts from August, 2019

CODE FOR REGISTRATION FORM

Image
<html> <head>     <script>         function submit1()         {                                    var a=document.form.name.value;             var b=document.form.mobile.value;             var c=document.form.email.value;             var d=document.form.address.value;             var e=document.form.pin.value;             var f=document.form.password.value;             var g=document.form.confirm.value;             var apos=c.indexOf("@");             var dpos=c.lastIndexOf(".");             if(a=="")             {                 alert("enter your name");             }             else if(b.length!=10 )             {                 alert("enter valid mobile number");             }             else if(dpos - apos <2)             {                 alert("enter valid E-mail Address ");             }             else if(e.length!=6)             {                 alert("

CODE FOR LOG-IN FORM

Image
<html> <head> <style> body { margin:0; padding:0; background-color:grey; } #a { width:300px; padding:40px; position: absolute; top:50%; left:50%; transform: translate(-50%,-50%); background:black; text-align: center; color:white; } #a input[type="text"], #a input[type="password"] { border:0; background-color: none; display:block; margin:20px auto; text-align:center; border:2px solid blue; padding:14px 10px; width:200px; outline:none; color:black; border-radius: 24px; transition:0.25s; } #a input[type="text"]:focus,#a input[type="password"]:focus { width:280px; border-color:green; } #a input[type="submit"] { border:0; background-color: none; display:block; margin:20px auto; text-align:center; border:2px solid green; padding:14px 40px; width:200px; outline:none; color:blue; border-radius: 24px; transition:0.25s; cursor: pointer; } #a input[type="submit"]:hover { background-color: green; } </style> </h

New Post Coming Soon