JIT
Add Student and Teacher ID to Login Signup
make a space to login page for student id number and as well as when i sign up as a student, and same as the teacher make a space their teacher id number and as well when they sign up on this code: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Login</title> <link rel="stylesheet" href="login.css"> </head> <body> <!-- Login Form --> <div class="login-container" id="login-container"> <h2>Login</h2> <input type="text" id="username" placeholder="Enter Username"> <input type="password" id="password" placeholder="Enter Password"> <select id="role"> <option value="">Select Role</option> <option value="teacher">Teacher</option> <option value="student">Junior High School Student</option> <option value="parent">Parent</option> </select> <button onclick="login()">Login</button> <p id="errorMessage" class="error-message"></p> <p>Don't have an account? <a href="#" onclick="showSignup()">Sign up</a></p> </div> <!-- Sign Up Form --> <div class="signup-container hidden" id="signup-container"> <h2>Sign Up</h2> <input type="text" id="newUsername" placeholder="Choose a Username"> <input type="password" id="newPassword" placeholder="Choose a Password"> <select id="newRole"> <option value="">Select Role</option> <option value="teacher">Teacher</option> <option value="student">Junior High School Student</option> <option value="parent">Parent</option> </select> <!-- Container for Full Name, hidden by default --> <div id="fullNameContainer" class="hidden"> <input type="text" id="fullName" placeholder="Enter Full Name"> </div> <button onclick="signup()">Sign Up</button> <p id="signupMessage" class="signup-message"></p> <p>Already have an account? <a href="#" onclick="showLogin()">Log in</a></p> </div> <script src="login.js"></script> </body> </html>

Okay, I will modify the HTML to include the ID number fields for students and teachers in both the login and signup sections. I'll also add basic JavaScript and CSS to handle the visibility of these fields based on the selected role.

Updated files
v1