<html> <head> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous"> <script type="text/javascript" src="https://d3js.org/d3.v3.min.js"></script> <script type="text/javascript" src="https://cdn.jsdelivr.net/cal-heatmap/3.3.10/cal-heatmap.min.js"></script> <link rel="stylesheet" href="https://cdn.jsdelivr.net/cal-heatmap/3.3.10/cal-heatmap.css" /> <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700" rel="stylesheet"> <link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> <script src="https://code.jquery.com/jquery-1.12.4.js"></script> <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> <link rel="stylesheet" href="style.css" > <style> .login_form{ height: 100%; width:100%; display: flex; align-items: center } </style> </head> <body> <div class="login_form"> <form method="POST" action="/" style="width:auto"> <input type="password" name="password" id="password" placeholder="password" style="text-align:center;"/> </form> </div> <script src="script.js"></script> <script>$("#password").focus();</script> </body> </html>