0
Demanding a mandatory code input from users before viewing a particular web page?
Hi everyone, I just started learning JavaScript, and I became curious when I came across "input, alerts, confirm". Can one demand a specific code input from users before having access to a webpage? If so, how do one go about writing the code?
1 Antwort
0
The normal solution is to just create a login page but you can use prompt function also for a quick solution
https://www.sololearn.com/learn/JavaScript/1149/