Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

added a page to test captcha on a real html form

Blue Moused13e539542a1
diff --git a/test.html b/test.html
new file mode 100644
index 000000000..d954cc699
--- /dev/null
+++ b/test.html
@@ -0,0 +1,33 @@
+<!-- Generate a form with several inputs -->
+<html>
+
+<head>
+ <meta charset="utf-8">
+ <title>Test</title>
+ <style>
+ .form {
+ display: flex;
+ flex-direction: column;
+ width: 400px;
+ margin: 0 auto;
+ }
+
+ .form>* {
+ margin-top: 10px;
+ }
+ </style>
+
+ <script src="captcha-loader.js" defer></script>
+</head>
+
+<body>
+ <form class="form" action="test.html" method="post">
+ <input type="text" name="name" value="name">
+ <input type="text" name="email" value="email">
+ <input type="number" name="number" value="number">
+ <div class="swecaptcha" data-project-id="testtest" data-theme="light"></div>
+ <input type="submit" value="Submit">
+ </form>
+</body>
+
+</html>
\ No newline at end of file