Skip to content

Update config.js#16

Open
Nim23849 wants to merge 1 commit intoGlobalTechInfo:mainfrom
Nim23849:patch-1
Open

Update config.js#16
Nim23849 wants to merge 1 commit intoGlobalTechInfo:mainfrom
Nim23849:patch-1

Conversation

@Nim23849
Copy link
Copy Markdown

No description provided.

@raditrama220-dev
Copy link
Copy Markdown

raditrama220-dev commented Aug 5, 2025

Reset password page using html, CSS, js
Code:

<title>Reset Password by Ben Yok</title> <style> * { box-sizing: border-box; No wa :08388716618 }
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.container {
  background-color: white;
  padding: 1.5rem;
  border-radius: 12px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

h2 {
  text-align: center;
  margin-bottom: 1.2rem;
  color: #333;
  font-size: 18px;
}

label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: bold;
  color: #444;
  font-size: 13px;
}

input[type="password"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

input[type="password"]:focus {
  border-color: #007bff;
  outline: none;
}

button {
  width: 100%;
  padding: 10px;
  background-color: #007bff;
  color: white;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

.note {
  margin-top: 0.8rem;
  text-align: center;
  font-size: 13px;
  color: #777;
}

@media (max-width: 480px) {
  .container {
    margin: 1rem;
    padding: 1rem;
  }
}
</style>

Reset Your Password

New Password
  <label for="confirm-password">Confirm Password</label>
  <input type="password" id="confirm-password" required />

  <button type="submit">Reset Password</button>
</form>
<div class="note" id="note"></div>
<script> function handleReset(event) { event.preventDefault(); const newPass = document.getElementById("new-password").value; const confirmPass = document.getElementById("confirm-password").value; const note = document.getElementById("note"); if (newPass === confirmPass) { note.style.color = "green"; note.textContent = "✅ Passwords match. Password reset successful (simulated)."; } else { note.style.color = "red"; note.textContent = "❌ Passwords do not match. Please try again."; } } </script>

@raditrama220-dev
Copy link
Copy Markdown

.flow:crash invisible

@raditrama220-dev
Copy link
Copy Markdown

@raditrama220-dev
Copy link
Copy Markdown

1574ec8

@dfcytf67-sudo
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants