Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I would like this assignment to be done using html and JavaScript, and I wanted

ID: 3578871 • Letter: I

Question

I would like this assignment to be done using html and JavaScript, and I wanted it to work on mobile phones if possible Thank you very much This is a login system for time clock, I want the user to enter the r ID and PIN numbers by clicking on the buttons or by using the keyboard or touch screen for mobile 1. They will have to create a PIN number, the user will have his ID provided 2. Then they will login by using the ID and the PIN number 3. The Clear button will clear the entries 4. the Submit will take the user to a new window, see page 2) Close will close the form Enter your ID# Enter your PIN Clear Submit

Explanation / Answer

</!DOCTYPE html>
<html>
   <head>
       <title>HTML Form</title>
   </head>
   <body>
       <form action="next_page.html">
           <label>Enter your ID#</label>
           <input type="number" name="id" id="id">
           <br></br>       <!-- new line -->
           <label>Enter your PIN</label>
           <input type="number" name="pin" type="password" id="pin">
           <br></br>
           <button>Clear</button>
           <button type="submit">Submit</button>
       </form>
   </body>
   <script type="text/javascript">
       function clear(){
           document.getElementById("id").innerHTML = "";       // set id is equal id value to null
           document.getElementById("pin").innerHTML = "";       // set id is equal to pin value to null
       }
   </script>
</html>