Skip to content

Instantly share code, notes, and snippets.

View rfuehrer's full-sized avatar

R. Fuehrer rfuehrer

View GitHub Profile
@rfuehrer
rfuehrer / otp_html_input.html
Last active November 2, 2021 19:55
OTP HTML Input
<html>
<head>
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
</head>
<body>
<div class="min-h-screen flex flex-col justify-center text-center">
<!-- Make sure the following div id (OTPInput) is the same in the Javascipt -->
<form action="#" method="post">
<!-- This is the div where the otp fields are generated by Javascript -->
<div class="flex justify-center " id="OTPInput">