Раньше я работал в опере, но изменил на mozila, и теперь я хотел проверить html-файл на наличие ошибок и обнаружил, что кнопка, которая должна привести пользователя к форме регистрации в другом html-документе, и кнопка отправки над нимне работаетПроблема в кнопке с классом reg-button внутри div с классом loginform.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial- scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Definely not netflix</title> <link href="style.css" rel="stylesheet"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> <link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Shadows+Into+Light" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Dancing+Script:700" rel="stylesheet"> <link rel="icon" href="./icon.png" /> </head> <body class="body"> <div class="loginform hide"> <form action="/action_page.php" method="POST"> Username: <input class="input-Lform" type="text" name="uname" /> Password: <input class="input-Lform" type="password" name="password" /> <br> <input class="input-Lform login-button" type="submit" value="Log in" /> <p class="register">Dont have an account?</p> <button class="btn btn-default btn-sm"><a class="reg-button"href="Login/login.html">SIGN IN</a></button> </form> </div> </div> <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script> <script src="jquery.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/js/bootstrap.min.js" integrity="sha384-o+RDsa0aLu++PJvFqy8fFScvbHFLtbvScb8AjopnFD+iEQ7wo/CG0xlczd+2O/em" crossorigin="anonymous"></script> <script src="script.js"></script> </body> </html>