Skip to content

Commit

Permalink
fixed logo
Browse files Browse the repository at this point in the history
  • Loading branch information
adityaks-lts committed May 9, 2024
1 parent e7d100b commit 10e51f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion Frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<!-- <link rel="stylesheet" href="./styles/index.css"> -->
<link rel="stylesheet" href="/Tapti-Recursion-010/Frontend/styles/index.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
Expand Down
9 changes: 4 additions & 5 deletions Frontend/scripts/signup.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ async function sendUserData(){

showLoading()
if(userPassword.value.length < 5) alert("Password must contain at least 6 characters")
else if(userPasswordConfirm.value != userPassword.value) alert("Password didn't match");
else if(await verifyUserData()) alert(`User Email is already registered!`);
else if(userPasswordConfirm.value == userPassword.value){
else{

let newObj = {"name": userName.value,
"email":userEmail.value,
Expand All @@ -69,14 +70,12 @@ async function sendUserData(){
catch(err){
console.log(err);
}
stopLoading();
}
else{
alert("Password didn't match");
}
}
else{
alert("Fill all the fields")
}
stopLoading();


}

0 comments on commit 10e51f3

Please sign in to comment.