blog.1links.appImprove Readability with Numeric Separators in JavaScriptJavaScript's Numeric Separators provide an enhanced way to improve the readability of large numeric literals by allowing developers to use underscores as visual separators. This feature makes it easier to understand and maintain code that involves la...Jun 5, 2023·2 min read
blog.1links.appFree Google reCAPTCHA Alternative: Cloudflare TurnstileIf you are operating a website, spam can be a big problem for you. Bots and spammers can exploit your website by sending unwanted messages, registering fake user accounts, or injecting malicious content. Luckily, there are many ways to protect your w...May 23, 2023·5 min read
blog.1links.appHow to detect dark mode using JavaScriptNowadays, most operating systems and applications have started implementing dark mode. It's a feature that switches the application theme from light to dark, providing users with better readability, improved visual ergonomics, and reduced eye-strain....May 23, 2023·3 min read
blog.1links.appCreate a Username from a String in JavaScriptIn today's world, almost every website or application requires a username to be unique for every user. A username is an identifier for a user to login or access a website or application. However, generating a unique username from a string can be chal...May 6, 2023·4 min read
blog.1links.appJavaScript regex: Allow letters and numbers, but not just numbersRegular expressions (regex) are powerful tools in JavaScript that allow you to match and manipulate text based on specific patterns. In this blog post, we will explore how to use regex in JavaScript to match strings that contain only alphabets or alp...May 2, 2023·3 min read