Skip to content
/ OTPJS Public

A simple, lightweight library for Verification Form

Notifications You must be signed in to change notification settings

Rayiumir/OTPJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ranger Logo
A simple, lightweight library for Verification Form

About OTPJS

A simple, lightweight library for Verification Form

How to use

Calling File Javascript :

<script src="js/otp.js"></script>

Calling File CSS :

<link rel="stylesheet" href="css/otp.css">

HTML:

<form class="otp">
    <div class="input_fields">
        <input type="number" />
        <input type="number" disabled />
        <input type="number" disabled />
        <input type="number" disabled />
    </div>
    <button type="button">Verify Code</button>
</form>

Demo

Shows an illustrated sun in light mode and a moon with stars in dark mode.