Posts by Felipe Augusto • 3 points
1 post
-
0
votes2
answers1981
viewsQ: Problem to redirect with javascript (window.location.href)
Hello, I wish users can only access a certain area of the site if they have an access password. my code is this: function redirect() { var pass; pass = prompt("Qual a palavra mágica?"); if (pass ==…
javascriptasked Felipe Augusto 3