I am trying to put out a test website for me club on github. I am using forms and I am trying to do a dummy login form into a html file, but everytime I press the submit button it won’t direct me to the html file. What can I do? If possible I prefer to do this without javascript
<form action="/studentinterface.html" method="post">
<h1>Student Login</h1>
<fieldset>
<label for="email">Email</label>
<input type="email" id="email" name="user_email" placeholder="[email protected]" value="" required>
<label for="password">Password</label>
<input type="password" id="password" name="user_password" placeholder="your password" value="" required>
</fieldset>
<button class="cpoint" type="submit">Submit</button>
</form>
Login imageAfter Log in clicked
I wanted it to open up my interface.html file, but it would not retrieve it. It works for me if I’m inputting the actual html in the address bar.
user24873655 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.