Develop Simple Responsive Sign Up Form.How?

Congratulations you are a real explorer 
Friends, I am going to show you how to develop a simple responsive Sign-Up form using bootstrap.
Our Sign-Up form UI is below

Technologies used:
  • HTML
  • Bootstrap
  • CSS
  • jQuery  
Source Code

<!DOCTYPE html>

<html lang="en">
<head>
  <title>Knowledgefactory-Sign Up</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<style>
.form-style {
  background-image: linear-gradient(to right,#D3D3D3,white);;
}
.note
{
    text-align: center;
    height: 80px;
    background: -webkit-linear-gradient(left,#32CD32,#7CFC00 );
    color: #fff;
    font-weight: bold;
    line-height: 80px;
}
.form-content
{
    padding: 5%;
    border: 1px solid #ced4da;
    margin-bottom: 2%;
}
.form-control{
    border-radius:1.5rem;
}
.btnSubmit
{
    border:none;
    border-radius:1.5rem;
    padding: 1%;
    width: 20%;
    cursor: pointer;
    color: #fff;
background: -webkit-linear-gradient(left,#32CD32,#7CFC00 );

}
.btnSubmit:hover {
  background: -webkit-linear-gradient(left,#FF0000, #800000 );
}
</style>
<body class="form-style">
 <form name="signForm" method="post" action="signForm" onSubmit="return checkform()">
  <div class="container register-form">
            <div class="form">
                <div class="note">
                    <p>Simple Responsive Sign Up Form</p>
                </div>

                <div class="form-content">

                    <div class="row">
                        <div class="col-md-6">
                            <div class="form-group">
                                <input type="text" class="form-control" placeholder="Your Name *" value=""/>
                            </div>
                            <div class="form-group">
                                <input type="text" class="form-control" placeholder="Your Email *" value=""/>
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                <input type="text" class="form-control" placeholder="Your Password *" value=""/>
                            </div>
                            <div class="form-group">
                                <input type="text" class="form-control" placeholder="Confirm Password *" value=""/>
                            </div>
                        </div>
                    </div>
                    <button type="submit" class="btnSubmit">Submit</button>
                </div>
            </div>
    </div>
 </form>
</body>
<script>
</html>

Popular posts from this blog

Learn Java 8 streams with an example - print odd/even numbers from Array and List

Java Stream API - How to convert List of objects to another List of objects using Java streams?

Registration and Login with Spring Boot + Spring Security + Thymeleaf

Java, Spring Boot Mini Project - Library Management System - Download

ReactJS, Spring Boot JWT Authentication Example

Top 5 Java ORM tools - 2024

Java - Blowfish Encryption and decryption Example

Spring boot video streaming example-HTML5

Google Cloud Storage + Spring Boot - File Upload, Download, and Delete