Signup and login page

How do I make a login and signup page in HTML and JS

Would reccommend using MongoDB. Search how to use Mongoose and then save the info or a variable called ‘loggedin’ in express session.

I don’t get it
More twxt

MongoDB is a database software thing, but the company that runs it also give you databases instead of self-hosting them called MongoDB Atlas. You can get a free one from their website and use it with Mongoose, the MongoDB npm library for Node.js. Then you post the request from the html form and handle it with Express routing (, you then find and save the request to the database. Use the bcrypt npm library for password hashing and salting. Save any logging in to a session using the express-session npm library. Just google the things if you don’t understand and then put it together. Lots of coding is just putting things together.