skip to Main Content

Html – Why is this code not checking the validity of the passcode?

**This is the HTML Part** <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Login</title> </head> <body style="background-color: rgb(0, 255, 195); text-align: center"> <div id="display"> <p style="color:black">Enter your Passcode:</p> <input id="passcode" type = "password"> <button onclick="checkValidity()">Enter↵</button> </div> <script…

VIEW QUESTION
Back To Top
Search