A lightweight, client-side CAPTCHA system built with HTML, JavaScript, and CSS to prevent automated form submissions.
- Simple and lightweight
- No server required
- Customizable difficulty
- Refresh button for new CAPTCHA
- Easy to integrate with any form
- HTML
- CSS
- JavaScript
- Clone the repository:
git clone https://github.com/yourusername/client-side-captcha.git
- Navigate to the project folder:
cd client-side-captcha
- Open
index.html
in your browser.
- Enter the CAPTCHA code displayed in the image.
- Click "Verify" to check if the entered code is correct.
- Refresh to generate a new CAPTCHA if needed.
<form>
<label for="captcha-input">Enter CAPTCHA:</label>
<input type="text" id="captcha-input" />
<canvas id="captcha-canvas"></canvas>
<button type="button" onclick="verifyCaptcha()">Verify</button>
<button type="button" onclick="generateCaptcha()">Refresh</button>
</form>
This project is licensed under the MIT License.
Feel free to fork the project and submit pull requests with improvements!
For any issues or feature requests, open an issue on GitHub.