I am trying to make a password interface but I can't because it is really hard and because I don't know how to do so. It would be relly kind if you an
HTML, CSS, JS
JWZ6hmmmmmm lemme try. Say ur username is 10 and ur password is ten do
HTML:
login
submit
Javascript:
function login(){
if (document.getElementById("username") == "10"){
if (document.getElementById("password") == "ten"){
alert("Welcome!");
else {
alert("You shall not pass")
}
}
else {
alert("You shall not pass")
}
}2 years ago
GameDev46If you are asking about an actual working login and sign up system, it gets a bit complicated XD! So as a basic you will need to know node.js and express, which you can learn by watching this:
https://www.youtube.com/watch?v=pKd0Rpw7O48
Then you can learn about the inbuilt URL extension here:
https://www.w3schools.com/nodejs/nodejs_url.asp
And then look at the side panel of your repl and go to database and add in a replit database where you can save users logins to and then if you build a si2 years ago