2 Javascript Captcha
This “Javascript Captcha” collection demonstrates how to create custom security mechanisms without third-party services. The examples cover crucial aspects like the generation of mathematical problems, random character strings, or interactive puzzles. This is an ideal resource for understanding the fundamentals of Captcha and building lightweight, custom solutions for forms.
Examples

CAPTCHA Boop Slider
A simple but engaging demo that uses JavaScript to check if a user clicks the correct spot on an image. It’s a great example of combining UI/UX and logic to create a human-friendly but bot-resistant captcha.
See the Pen CAPTCHA Boop Slider.

Purr-O-Meter CAPTCHA
The demo shows an original CAPTCHA implementation that relies on JavaScript’s mousemove and setInterval events. It defines “interaction zones” (sweetSpots) and increases a progress bar when the cursor is in them, or decreases it when inactive, creating a dynamic, game-like experience.
See the Pen Purr-O-Meter CAPTCHA.