Centering signup page and added email text box
This commit is contained in:
		
							parent
							
								
									ab795864be
								
							
						
					
					
						commit
						9617cbe558
					
				
					 1 changed files with 21 additions and 8 deletions
				
			
		|  | @ -9,15 +9,28 @@ | ||||||
|     <link rel="shortcut icon" href="/favicon.ico" /> |     <link rel="shortcut icon" href="/favicon.ico" /> | ||||||
|     <title>Sign up</title> |     <title>Sign up</title> | ||||||
| </head> | </head> | ||||||
|  | <style> | ||||||
|  |     .signup | ||||||
|  |     { | ||||||
|  |         margin-left: auto; | ||||||
|  |         margin-right: auto; | ||||||
|  |         text-align:left; | ||||||
|  |         width:60%; | ||||||
|  |     } | ||||||
|  | </style> | ||||||
| <body> | <body> | ||||||
| <h1>Sign up page</h1> |     <div class="container"> | ||||||
| <form id="signup"> |         <form class="signup"> | ||||||
|     User Name: <input type="text" id="userName" minlength="4" size="10" required="required"><br> |             <h1>Sign up page</h1> | ||||||
|     Password: <input type="password" id="password" minlength="4" size="10" required="required"><br> |             User Name: <input type="text" id="userName" minlength="4" size="10" required="required"><br> | ||||||
|     Confirm Password: <input type="password" id="confirmPassword"><br> |             Email: <input type="email" id="email" required="required"><br> | ||||||
|     <input type="submit" value="Submit" formaction="index.html"> |             Password: <input type="password" id="password" minlength="4" size="10" required="required"><br> | ||||||
|     <a class="nav-link" href="index.html">Return to main menu</a> |             Confirm Password: <input type="password" id="confirmPassword"><br> | ||||||
| </form> |             <input type="submit" value="Submit" formaction="index.html"> | ||||||
|  |             <a class="nav-link" href="index.html">Return to main menu</a> | ||||||
|  |         </form> | ||||||
|  |     </div> | ||||||
| </body> | </body> | ||||||
| <script src="signupPage.js"></script> | <script src="signupPage.js"></script> | ||||||
|  |     <!--Still need to check if user exist and if email exist--> | ||||||
| </html> | </html> | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Jack
						Jack