Advertisement
Guest User

Untitled

a guest
Apr 6th, 2020
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.94 KB | None | 0 0
  1. <html>
  2. <head>
  3.     <title>Login and Register</title>
  4.     <link rel="stylesheet" href="style.css">
  5. </head>
  6. <body>
  7.     <div class="hero">
  8.         <div class="form-box-login">
  9.             <div class="button-box">
  10.                 <h3 class="input-field-title">Login</h3>
  11.             </div>
  12.            
  13.         <form id="EMPLOYEE" class="input-group">
  14.            <input type="text" class="input-field" placeholder="Email" required> <input type="password" class="input-field" placeholder="Password" value="" required>
  15.             <input type="checkbox" class="Check-box"><span>Remeber Password</span>
  16.             <button type="submit" class="submit-btn">Login</button>
  17.         </form>
  18.         <form id="HIRER"class="input-group">
  19.             <h3 class="input-field-title">Register as Hirer</h3>
  20.             <input type="text" class="input-field" placeholder="First Name" required>
  21.             <input type="text" class="input-field" placeholder="Last Name" required>
  22.             <input type="text" class="input-field" placeholder="Email" required> <input type="password" class="input-field" placeholder="Enter Password" value="" required>
  23.             <input type="password" class="input-field" placeholder="Confirm Password" value="" required>
  24.             <input type="checkbox" class="Check-box"><span>I agree to the terms & conditions</span>
  25.            <button type="submit" class="submit-btn">Register as Hirer</button>
  26.        </form>
  27.        </div>
  28.        
  29.    </div>
  30.    
  31.    <script>
  32.    var x = document.getElementById("EMPLOYEE");
  33.     var y = document.getElementById("HIRER");
  34.     var z = document.getElementById("btn");
  35.    
  36.     function register(){
  37.         x.style.left = "-400px";
  38.         y.style.left = "50px";
  39.         z.style.left = "110px";
  40.     }        
  41.     function login(){
  42.         x.style.left = "50px";
  43.         y.style.left = "450px";
  44.         z.style.left = "0";
  45.     }
  46.        
  47.     </script>
  48.          
  49.    
  50. </body>
  51. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement