Coder Social home page Coder Social logo

form-validation's Introduction

Image description

ProGrad Lab | Form Validation

A Quick Introduction

With the love for coding, our ProGrad Alumni have come up with a great product idea for all the future ProGrads - CODEPRO. CODEPRO is built with a vision to help other ProGrads host and review code, manage projects and collaborate alongside other ProGrads. The website looks splendid & they are gonna launch it this weekend. Obviously, we are damn proud of them ❤️

Well, they are currently busy finishing and fixing up other things. We thought you help them with fixing one minor bug - form validation. As a ProGrad, we thought you could do the best to help out your peers & our alumni.

What should you do

Fork this repo
Clone this repo
Practice JavaScript basics - operators, conditions, loops

How To Submit

Upon completion, run the following commands:

git add .
git commit -m "ProGrad ID"
git push origin master

And finally, create a pull request so your ProGrad Mentor (PM) can review your work.

Instructions

Open script.js and follow the instructions.

Progression 1:

check username
create a function called as checkUserName()
username should not be empty
username should be a minimum of 8 characters and above 
username should be less than 15 characters
no space is allowed in username
username should not contain special characters
the function should return true if all the above conditions are validated.
return false if the validation fails

Progression 2:

Check mail
create a function called as checkEmail()
only @ , . , _ [at,dot,underscore] is allowed
it can be alphanumeric in nature
return true if it passses all validations and false otherwise

Progression - 3

Check password
create a function called as checkPassword()
should be alphanumeric in nature
password must contain atleast one Uppercase, one number and special characters[!@#$%^&*()_]
return true else return false

Happy Coding ProGrad ❤️

form-validation's People

Contributors

dark0017 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.