Pages
Users

Tom Cruise
tomcruise@left4code.com

Christian Bale
christianbale@left4code.com

Angelina Jolie
angelinajolie@left4code.com

Al Pacino
alpacino@left4code.com
Products

Oppo Find X2 Pro
Smartphone &Tablet

Samsung Galaxy S20 Ultra
Smartphone &Tablet

Dell XPS 13
PC &Laptop

Sony Master Series A9G
Electronic
Notifications

Tom Cruise
06:05 AM
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem

Christian Bale
01:10 PM
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem

Angelina Jolie
01:10 PM
There are many variations of passages of Lorem Ipsum available,but the majority have suffered alteration in some form,by injected humour,or randomi

Al Pacino
01:10 PM
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500

Kevin Spacey
06:05 AM
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem

Form Validation
Implementation
Show code
<form class="validate-form">
<div> <label class="flex flex-col sm:flex-row"> Name <span class="sm:ml-auto mt-1 sm:mt-0 text-xs text-gray-600">Required,at least 2 characters</span> </label> <input type="text" name="name" class="input w-full border mt-2" placeholder="John Legend" minlength="2" required> </div>
<div class="mt-3"> <label class="flex flex-col sm:flex-row"> Email <span class="sm:ml-auto mt-1 sm:mt-0 text-xs text-gray-600">Required,email address format</span> </label> <input type="email" name="email" class="input w-full border mt-2" placeholder="example@gmail.com" required> </div>
<div class="mt-3"> <label class="flex flex-col sm:flex-row"> Password <span class="sm:ml-auto mt-1 sm:mt-0 text-xs text-gray-600">Required,at least 6 characters</span> </label> <input type="password" name="password" class="input w-full border mt-2" placeholder="secret" minlength="6" required> </div>
<div class="mt-3"> <label class="flex flex-col sm:flex-row"> Age <span class="sm:ml-auto mt-1 sm:mt-0 text-xs text-gray-600">Required,integer only &maximum 3 characters</span> </label> <input type="number" name="age" class="input w-full border mt-2" placeholder="21" required> </div>
<div class="mt-3"> <label class="flex flex-col sm:flex-row"> Profile URL <span class="sm:ml-auto mt-1 sm:mt-0 text-xs text-gray-600">Optional,URL format</span> </label> <input type="url" name="url" class="input w-full border mt-2" placeholder="https://google.com"> </div>
<div class="mt-3"> <label class="flex flex-col sm:flex-row"> Comment <span class="sm:ml-auto mt-1 sm:mt-0 text-xs text-gray-600">Required,at least 10 characters</span> </label> <textarea class="input w-full border mt-2" name="comment" placeholder="Type your comments" minlength="10" required></textarea> </div> <button type="submit" class="button bg-theme-1 text-white mt-5">Register</button>
</form>