Coding Global Background
Coding Global

how would i make this encrypt?

Archiviert a year ago
4 Nachrichten
0 Mitglieder
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)