Coding Global Background
Coding Global
","comment":[{"@type":"Comment","author":{"@type":"Person","name":"Deleted User","url":"https://discord.com/users/456226577798135808","image":"https://cdn.discordapp.com/embed/avatars/3.png"},"datePublished":"2024-10-13T10:57:22.034Z","text":"what exactly u want to do?"},{"@type":"Comment","author":{"@type":"Person","name":"Nikolai","url":"https://discord.com/users/926221733374083113","image":"https://cdn.discordapp.com/avatars/926221733374083113/4d3b71fc0828ef6d804c291782af6cd7.webp"},"datePublished":"2024-10-16T01:53:02.146Z","text":"to make it not apear when you inspect element make it hidden the passcode and website"},{"@type":"Comment","author":{"@type":"Person","name":"Deleted User","url":"https://discord.com/users/456226577798135808","image":"https://cdn.discordapp.com/embed/avatars/3.png"},"datePublished":"2024-10-16T01:53:02.931Z","text":"<@926221733374083113>, you just advanced to Active!! 🎉🎉🎉"}]}

how would i make this encrypt?

Archiviert a year ago
4 Nachrichten
0 Mitglieder
Erstellt a year ago
Aktualisiert a year ago
In Discord öffnen
B
Nikolai
Active!
<form id="passwordForm">

<label for="password">Unlock chat:</label>

<input type="password" id="password" name="password">

<button type="submit">Unlock</button>

</form>

<script>

const passwordForm = document.getElementById("passwordForm");

const correctPassword = "546534765";

passwordForm.addEventListener('submit', (event) => {

event.preventDefault();

const enteredPassword = document.getElementById("password").value;

if (enteredPassword === correctPassword) {

window.location.href = " a website soon to be put in ";

} else {

alert("Haha incorrect stop while you can you'll never get it just stop");

}

});

</script>

Antworten (4)