Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frontend Intern Task #49

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 44 additions & 30 deletions LoginPageTask/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,47 @@
<!-- ADDING A SUCCESS PAGE FOR THE SAME WILL BOOST YOUR CHANCES -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Login</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="main.css">
<script src="main.js"></script>
</head>
<body>
<img src="https://incubateind.com/images/IncubateIND%20Black.png" class="logo" alt="">
<!-- Beautify This -->
<div class="log-form">
<h2>Enter your details</h2>
<form>
<input type="text" title="username" placeholder="username" />
<input type="email" title="email" placeholder="email">
<input type="password" title="password" placeholder="password" />
<input type="password" title="cnfpassword" placeholder="confirm password" />
<textarea name="message" id="message" cols="35" rows="4" placeholder="enter message"></textarea>
<p>Age</p>
<input type="radio" id="above" name="age" value="above">
<label for="above">Above 18</label>
<input type="radio" id="below" name="age" value="below">
<label for="below">Below 18</label>
<button type="submit" class="btn">Submit</button>
</form>
</div>
<!-- Beautify Ends -->
</body>
</html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Login</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" type="text/css" media="screen" href="main.css" />
<script src="main.js"></script>
</head>
<body>
<img
src="https://incubateind.com/images/IncubateIND%20Black.png"
class="logo"
alt=""
/>
<!-- Beautify This -->
<div class="log-form">
<h2>Enter your details</h2>
<form>
<input type="text" title="username" placeholder="username" />
<input type="email" title="email" placeholder="email" />
<input type="password" title="password" placeholder="password" />
<input
type="password"
title="cnfpassword"
placeholder="confirm password"
/>
<textarea
name="message"
id="message"
cols="35"
rows="4"
placeholder="enter message"
></textarea>
<p>Age</p>
<input type="radio" id="above" name="age" value="above" />
<label for="above">Above 18</label>
<input type="radio" id="below" name="age" value="below" />
<label for="below">Below 18</label>
<button type="submit" class="btn">Submit</button>
</form>
</div>
<!-- Beautify Ends -->
</body>
</html>
10 changes: 5 additions & 5 deletions LoginPageTask/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
body {
font-family: "open sans", helvetica, arial, sans;
}
.logo{
.logo {
width: 100px;
}
.log-form {
Expand All @@ -28,14 +28,14 @@ h2 {
}
.log-form {
padding: 2em;
-webkit-box-shadow: 4px -1px 53px -7px rgba(138, 138, 138, 0.30);
-moz-box-shadow: 4px -1px 53px -7px rgba(138, 138, 138, 0.30);
box-shadow: 4px -1px 53px -7px rgba(138, 138, 138, 0.30);
-webkit-box-shadow: 4px -1px 53px -7px rgba(138, 138, 138, 0.3);
-moz-box-shadow: 4px -1px 53px -7px rgba(138, 138, 138, 0.3);
box-shadow: 4px -1px 53px -7px rgba(138, 138, 138, 0.3);
}

form {
display: block;
text-align: center;
width: 100%;
}
/* ========================WRITE YOUR CSS FROM HERE======================== */
/* ========================WRITE YOUR CSS FROM HERE======================== */
37 changes: 22 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,42 @@
# Frontend Intern Task - Summer 2020

## Submission Procedure
Read the following steps and guidelines properly for proper submission of your Task. Missing out any step or performing it wrongly can lead to unsuccessful submission.

Read the following steps and guidelines properly for proper submission of your Task. Missing out any step or performing it wrongly can lead to unsuccessful submission.

## TASK

**The task for the applicants is to stylize and modify the Login Form present in the folder in the master branch of the repository by the name of - LoginPageTask.**
Each applicant is supposed to complete the following tasks, your assessment will be done on the basis of completion of each task.
+ Beautify the Login Form (use of Bootstrap 4 will be preffered, for styling the page).
+ Check the validations in the form (eg. the type of field should be set to email for Email field).
+ Add a Phone Number field in the form with proper validations.
+ Applicants are expected to show their skills with design and animation, as well they can form multiple iterations of the form.
+ The page should be **responsive to all screen size** (failing to which you will not be considered for the profile).
+ **Any form of plagarism in the code will lead to disqualification straightaway.**
+ Proper commenting is expected from the applicants.
+ You have to use the Boilerplate code provided with the task folder.

- Beautify the Login Form (use of Bootstrap 4 will be preffered, for styling the page).
- Check the validations in the form (eg. the type of field should be set to email for Email field).
- Add a Phone Number field in the form with proper validations.
- Applicants are expected to show their skills with design and animation, as well they can form multiple iterations of the form.
- The page should be **responsive to all screen size** (failing to which you will not be considered for the profile).
- **Any form of plagarism in the code will lead to disqualification straightaway.**
- Proper commenting is expected from the applicants.
- You have to use the Boilerplate code provided with the task folder.

### Step 1

#### Fork this repository

### Step 2

#### Create a New Folder within the forked repository, with the 'folder name' being your 'Fullname'.

## Contents of the folder
+ The project directory.
+ The entire Login Page with all its dependent files should be present.
+ A text file that contains proper documentation. The documentation should contain:
- Your Full Name.
- Your College, stream of study and year of study.
- Your Current Location (City of residence).

- The project directory.
- The entire Login Page with all its dependent files should be present.
- A text file that contains proper documentation. The documentation should contain:
- Your Full Name.
- Your College, stream of study and year of study.
- Your Current Location (City of residence).

### Step 3

Create a Pull Request only after you have completed the entire project and do not wish to make any further changes. We will not be accepting more than one Pull Request from any student. \
\
You can complete your work on the local machine and then upload your project folder in the forked repository and proceed to create a Pull Request.
Expand Down
Binary file added azharKhalid/LoginForm Iteration-1/img/bg-main.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
143 changes: 143 additions & 0 deletions azharKhalid/LoginForm Iteration-1/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
<!-- THE BOILERPLATE SHOULD NOT BE REMOVED -->
<!-- Proper naming convention should be used while naming id attributes. -->
<!-- ADDING A SUCCESS PAGE FOR THE SAME WILL BOOST YOUR CHANCES -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Login</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" type="text/css" media="screen" href="main.css" />
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous"
/>
</head>
<body>
<!-- Beautify This -->
<div class="log-form container-fluid">
<div class="container d-flex justify-content-center">
<div class="row">
<!--Form container-->
<div class="col-sm-12 form-div text-center bg-white py-2">
<img src="img/mainImage.png" class="logo m-3" alt="" />
<form class="form py-2">
<!--Email field-->
<div class="form-group mx-auto">
<input
id="email"
type="email"
class="form-control"
aria-describedby="emailHelp"
placeholder="Enter email"
/>
<small id="emailSmall">Please enter an valid email.</small>
</div>
<!--Mobile Number field-->
<div class="form-group mx-auto">
<input
id="mobileNo"
type="number"
class="form-control"
placeholder="Enter Mobile no"
/>
<small id="mobileSmall"
>Enter only numeric value.
<br />
Mobile no needs to be atleast 10 digits long.</small
>
</div>
<!--Password field-->
<div class="form-group mx-auto">
<input
id="password1"
type="password"
class="form-control"
id="exampleInputPassword1"
placeholder="Password"
/>
</div>
<!--Confirm Password field-->
<div class="form-group mx-auto">
<input
id="password2"
type="password"
class="form-control"
id="exampleInputPassword1"
placeholder="Confirm Password"
/>
<small id="passwordSmall1">Both Passwords should match.</small>
<small id="passwordSmall2"
>Passwords can't be left empty.</small
>
</div>
<!--Textarea field-->
<div class="form-group mx-auto">
<textarea
class="rounded form-control w-75"
name="message"
id="message"
cols="20"
rows="3"
placeholder="Enter message"
></textarea>
</div>
<!--Radio field-->
<div class="form-group">
<label class="mr-1" for="age">Age :</label>
<div class="custom-control custom-radio custom-control-inline">
<input
type="radio"
class="custom-control-input"
name="customRadio"
id="customRadio1"
checked
/>
<label class="custom-control-label" for="customRadio1"
>Above 18</label
>
</div>
<div class="custom-control custom-radio custom-control-inline">
<input
type="radio"
class="custom-control-input"
name="customRadio"
id="customRadio2"
/>
<label class="custom-control-label" for="customRadio2"
>Below 18</label
>
</div>
</div>
<!--Submit button-->
<button id="submit" type="submit" class="btn btn-success">
Submit
</button>
</form>
</div>
</div>
</div>
</div>
<!-- Beautify Ends -->

<script src="main.js"></script>
<script
src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"
></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"
></script>
</body>
</html>
Loading