From 1e0c9623cc72f03b393803c576e00bd6fd84d240 Mon Sep 17 00:00:00 2001 From: Om Amar <142908269+OmAmar106@users.noreply.github.com> Date: Wed, 23 Oct 2024 16:52:18 +0530 Subject: [PATCH] removed errors --- Feedback.html | 2 +- contact.html | 2 +- features.html | 2 +- nearby.html | 2 +- sitemap.html | 894 +++++++++++++++++++++++++++++++++++++------------- team.html | 2 +- up.html | 688 +------------------------------------- 7 files changed, 691 insertions(+), 901 deletions(-) diff --git a/Feedback.html b/Feedback.html index 10b5e4a..cc2a272 100644 --- a/Feedback.html +++ b/Feedback.html @@ -312,7 +312,7 @@
  • - + Feedback
  • diff --git a/contact.html b/contact.html index e7da191..44adea6 100644 --- a/contact.html +++ b/contact.html @@ -257,7 +257,7 @@ Contact
  • - + Feedback
  • diff --git a/features.html b/features.html index 88ff6bc..249b0b1 100644 --- a/features.html +++ b/features.html @@ -262,7 +262,7 @@ Contact
  • - + Feedback
  • diff --git a/nearby.html b/nearby.html index 5c43341..9cd9b1f 100644 --- a/nearby.html +++ b/nearby.html @@ -168,7 +168,7 @@ Contact
  • - + Feedback
  • diff --git a/sitemap.html b/sitemap.html index 02318db..3dedb8f 100644 --- a/sitemap.html +++ b/sitemap.html @@ -1,244 +1,692 @@ - - - - - - - Site Map - AmbuFlow - - - - - - - + - - -
    -
    - - - - -
    - -
    - -
    -

    Site Map AmbuFlow

    - -
    - - - + + + + +
    +
    + A + m + b + u + F + l + o + w +
    + Ambulance Monitoring System Logo +
    +

    +
    +

    Site Map AmbuFlow

    + +
    +
    +

    Site Map AmbuFlow

    + +
    + + + + + + + + + + + + + + + + + diff --git a/team.html b/team.html index ccd92b1..8dbb801 100644 --- a/team.html +++ b/team.html @@ -281,7 +281,7 @@ Contact
  • - + Feedback
  • diff --git a/up.html b/up.html index d42e4e7..6745584 100644 --- a/up.html +++ b/up.html @@ -1,662 +1,4 @@ - -
    - * Password must be at least 8 characters long, contain at least one uppercase letter, one lowercase letter, one number, and one special character. -
    - -

    Or Sign up with social platforms

    -
    - - - -
    - - - -
    - - -
    - -

    Or Sign in with social platforms

    -
    - - - -
    - - -
    - - - - - -
    -
    -

    New here ?

    -

    - Discover new experiences with AmbuFlow!
    Get access to - exclusive content and features.
    - Create your account. -

    - - - - - - -
    - -
    -
    -
    -

    One of us ?

    - -

    - Welcome to our community -

    - - -

    Welcome to our community

    - - -
    - -
    -
    -
    - - - - - // Validate inputs - if (username === "" || email === "" || password === "") { - alert("Please fill in all fields"); - return; - } - - // Generate a UUID - const userId = uuid.v4(); - console.log("Generated UUID:", userId); - - const data = JSON.stringify({ - id: userId, - username, - email, - password, - }); - console.log(data); - - // Uncomment the below code when MongoDB is ready - /* - try { - const response = await fetch("http://localhost:3000/signup", { - method: "POST", - headers: { - "Content-Type": "application/json", - }, - body: data, - }); - - if (!response.ok) { - const errorData = await response.json(); - throw new Error(errorData.message || "Signup failed"); - } - - const result = await response.json(); - console.log("Server response:", result); - - alert("Signup successful!"); - window.location.href = "login.html"; - } catch (error) { - alert(error.message); - console.error("Error during signup:", error); - } - */ - }); - - // Toggle password visibility - function togglePassword(fieldId, icon) { - const field = document.getElementById(fieldId); - const isPassword = field.type === "password"; - - // Toggle between 'password' and 'text' - field.type = isPassword ? "text" : "password"; - - // Change the icon class between eye and eye-slash - icon.classList.toggle("fa-lock-open", isPassword); - icon.classList.toggle("fa-lock", !isPassword); - } - - document - .getElementById("toggle-password") - .addEventListener("click", function () { - togglePassword("password-input", this); - }); - - document - .getElementById("toggle-password-signup") - .addEventListener("click", function () { - togglePassword("password-input-signup", this); - }); - - // Check password strength - function checkPasswordStrength() { - const password = document.querySelector( - ".sign-up-form input[type='password']" - ).value; - const strengthWeak = document.getElementById("strength-weak"); - const strengthMedium = document.getElementById("strength-medium"); - const strengthStrong = document.getElementById("strength-strong"); - - let strength = 0; - - if (password.length >= 8) strength++; - if (password.match(/[A-Z]/)) strength++; - if (password.match(/[a-z]/)) strength++; - if (password.match(/[0-9]/)) strength++; - if (password.match(/[^a-zA-Z0-9]/)) strength++; - - strengthWeak.className = ""; - strengthMedium.className = ""; - strengthStrong.className = ""; - - if (strength >= 1) strengthWeak.className = "weak"; - if (strength >= 3) strengthMedium.className = "medium"; - if (strength >= 5) strengthStrong.className = "strong"; - } - - document - .querySelector(".sign-up-form input[type='password']") - .addEventListener("input", checkPasswordStrength); - - - - - --> @@ -764,9 +106,9 @@

    One of us ?