Removing specifying type in index.html
This commit is contained in:
		
							parent
							
								
									c53a31a32f
								
							
						
					
					
						commit
						f9ef59bc9c
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -1,5 +1,5 @@ | ||||||
| var password = document.getElementById("password"); | const password = document.getElementById("password"); | ||||||
| var confirm_password = document.getElementById("confirmPassword"); | const confirm_password = document.getElementById("confirmPassword"); | ||||||
| function validatePassword(){ | function validatePassword(){ | ||||||
|     if(password.value != confirm_password.value) { |     if(password.value != confirm_password.value) { | ||||||
|         confirm_password.setCustomValidity("Passwords Don't Match"); |         confirm_password.setCustomValidity("Passwords Don't Match"); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Jack
						Jack