Ask coding questions

← Back to all posts
How to make a password interface?
Nearday

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 answer the question and also I would like to make the thing have a result like when you log in to a site and it lets yo go into the site is what I want to know how to do.

Voters
Nearday
Comments
hotnewtop
JWZ6

hmmmmmm lemme try. Say ur username is 10 and ur password is ten do

HTML:

Javascript:

Nearday

@JWZ6 It works but when I put the username as 10 which you said is the username, it doesn't go onto the password.

JWZ6

@pythoncooluser invite me

Nearday
Nearday

@JWZ6 I invited you.

GameDev46

If 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 simple API with the YouTube video then you can make requests to it to login and sign up!

ch1ck3n

You mean a login form

Nearday

@ch1ck3n yeah that is what I mean

ch1ck3n
ch1ck3n

@pythoncooluser so...

and css:

Nearday

@ch1ck3n It works but when I type the passwors, it doesn't log in so either soemthings wrong in the code or I need to know what the password is. So please tell me what the passcode is so I can test it.

ch1ck3n

@pythoncooluser there is no passcode