How to build a login system with JavaScript

preview_player
Показать описание
Working Demo:

Download the source code here:
Рекомендации по теме
Комментарии
Автор

This is great. Very helpful. I wanted to see how this actually worked on a basic level

tomatrix
Автор

I love your implementation, simple yet powerful. I am going through a final project that does not allow frameworks. Your method inspires me greatly.

fritzhopper
Автор

perfect dude, you're saved me <3.

eliote
Автор

This is a demo on looping through objects and handling object-literal-specific data structures for neophyte front-end developers just getting started with JavaScript. We would of course never recommend relying on password protection in your JavaScript in the client-side. There is no need to submit snarky and sarcastic comments about how insecure this is, as this demo is not meant to illustrate web-based security in any way, shape, or form.

codifyacademy
Автор

amazing thanks for adding to my javascript journey

sha
Автор

This is the most not safe script that i have ever seen

NightmareWolf
Автор

how can i make it go to a new page once i click sign in?

FunnyPantsTV
Автор

Can you explain now how to implement this in a website in a way the user can't literally read all of the login info in inspect element?

drs
Автор

I'm creating a game using JavaScript with my friend and this saved me! Thank you! Subscribed and hit that bell icon :)

lolmanrlly
Автор

Exactly what i needed at the moment. Thankyou!

shawnmichaelalberto
Автор

Thanks dude, i was stuck at this part :))

gagandeshmukh
Автор

Amazing! Continue with the great work you're doing
👌

DavidMwai-djup
Автор

thanks man!!! didn't wanted to use DB for username and pass you solved it.

rajeshgurjar
Автор

thanks sir and what about registration..?

andyjohn
Автор

You are so helpful!! Thank you so much for this video man!!!

jonanarvz
Автор

But It is not secured. Every one can see password using Inspect Element.

yesyouarerightbut
Автор

Thanks :) I already did a login System, but yours is mich simpler than mine... I have one problem left, how can I use the value of a text field, to use it as username and an other one as password? - to add it in an array? (I need this because I'd like to create a register system)

Thank you!

jenzuuu
Автор

could you make also how to build a register system?

jhanolaer
Автор

You would never use such thing for login the users in production ever :) lol . Just rename this video to "Compare user input to match object values" or "How to use for loop in JS"

wiktorliszkiewicz
Автор

How can i do it, when i have a json database?

prof.dr.yallic