Skip to main content

Posts

Showing posts from May, 2021

jQuery blogging application with index, show and create page

 jQuery blog app with jquery Create a Post: Listings all the posts: Blog show page:

Password Strength validator in jQuery

 Password strength validation is common feature in most of the web application. Here we are building a simple password strength validator Create html file and add a jQuery library. <h1>Password Strength </h1> Password: <input type="password" id="togglePassword" placeholder="Enter Password"><br><br> <ul>      <li class="maxLength">8 charecters length</li>      <li class="upCase">1 Upper case letter</li>      <li class="oneNumber">1 Number</li>      <li class="oneSpecial">1 Special Charecter</li> </ul> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> Four list tags is to validate max length, upper case, number and special characters. If any condition is valid particular list tag colour will become green. Javascript for strength validation $(document).ready(function(...