Login form

3,129 Kb

How do I make an login form?

Initially for my MMOGame, i am also using Angular :)Follow me on Twitter for progress on what this form was initially made for. What is a login form? How do you make a login form? This script and codes were developed by Charlie Walter on 11 January 2023, Wednesday.

Login form Previews

Login form - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Login form</title> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
<body> <div ng-app> <div class="login-module" ng-controller="TabController"> <h1><a href="#">Lorem</a></h1> <div ng-show="tab == 'login'"> <form> <input type="text" placeholder="Username" autofocus autocomplete> <input type="password" placeholder="Password"> <input type="submit" value="Login"> </form> <a href="#" ng-click="tab = 'help'">Can't login?.. let me help</a> <button ng-click="tab = 'register'"> Create new account</button> </div> <div ng-show="tab == 'register'"> <button class="back" ng-click="tab = 'login'"><i class="fa fa-arrow-left"></i></button> <form> <input type="text" placeholder="Email"> <input type="text" placeholder="Username"> <input type="password" placeholder="Password"> <input type="password" placeholder="Confirm"> <input type="submit" value="Create account"> </form> </div> <div ng-show="tab == 'help'"> <button class="back" ng-click="tab = 'login'"><i class="fa fa-arrow-left"></i></button> <form> <input type="text" placeholder="Email"> <input type="submit" value="Send recovery options"> </form> </div> </div>
</div> <script src='https://ajax.googleapis.com/ajax/libs/angularjs/1.2.15/angular.min.js'></script> <script src="js/index.js"></script>

Login form - Script Codes CSS Codes

body { background: #333; font-family: Open sans, Arial; font-weight: Lighter;
.login-module { width: 320px; margin: 10px auto; padding: 10px; background-color: rgba(0, 0, 0, 0.5); border-radius: 2px; text-align: center; position: relative;
.login-module h1 { font-size: 2em; margin-bottom: 10px;
.login-module h1 a { color: rgba(255, 255, 255, 0.75); text-decoration: none;
.login-module h1 a:hover { color: white;
.login-module input,
.login-module button { font-size: 1em; padding: 10px; border-radius: 1px; border: 0; display: block;
.login-module input[type=text],
.login-module input[type=password] { width: 300px; margin-bottom: 10px; background-color: rgba(255, 255, 255, 0.25); color: whitesmoke;
.login-module input[type=text]:hover,
.login-module input[type=password]:hover { background-color: rgba(255, 255, 255, 0.35);
.login-module input[type=text]:focus,
.login-module input[type=password]:focus { background-color: white; color: #666;
.login-module a { color: white; padding: 10px; display: block; margin: 10px 0;
.login-module input[type=submit],
.login-module button { width: 175px; margin: 0 auto; cursor: pointer; background-color: rgba(255, 255, 255, 0.75);
.login-module input[type=submit]:hover,
.login-module button:hover { background-color: white;
.login-module button.back { border-radius: 100%; width: 45px; height: 45px; font-size: 1em; color: #222; position: absolute; top: 25px; left: -20px;

Login form - Script Codes JS Codes

function TabController($scope){ $scope.tab='login';
Login form - Script Codes
Login form - Script Codes
Home Page Home
Developer Charlie Walter
Username cjonasw
Uploaded January 11, 2023
Rating 3
Size 3,129 Kb
Views 6,072
Do you need developer help for Login form?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Charlie Walter (cjonasw) Script Codes
Create amazing marketing copy with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!