Implementing a Sudoku validator in JavaScript
Sudoku is a logic-based combinatorial number-placement puzzle. This article discusses how to implement a Sudoku validator in JavaScript.
30 seconds of code contains a curated collection of code articles covering a wide range of development needs. The collection spans many topics, ranging from simple coding problems to theoretical concepts and development techniques.
Sudoku is a logic-based combinatorial number-placement puzzle. This article discusses how to implement a Sudoku validator in JavaScript.
Markdown is the most popular markup language for writing documentation. Here is a cheatsheet with the most common syntax.
Learn why vocal errors are better than silent ones, how to handle them effectively, and improve debugging and collaboration in JavaScript.
After working with 2D arrays for a while, I decided to create a convenient wrapper for operations. Here's the gist of it.
Instead of reconfiguring ESLint and Prettier every time, I use this configuration to get started quickly.
Leverage modern HTML and CSS capabilities to create a tabbed content component without JavaScript.
Did you know you don't need JavaScript to create accordion-style content? Here's how to do it with the details element.
In the age of flexbox and grid, text alignment may seem simpler than ever, but there are a few things you should be aware of.
The inset shorthand property makes element positioning in CSS easier. Learn how to use it effectively in your projects.
New to CSS logical properties? This article provides a handy map of logical properties to their physical counterparts.
Have you ever stopped to wonder if modularization is right for your use case? What if I told you it might not be?
Quick reference for JavaScript operators.
Dive into Web Components with me and learn how I used them to create modular interactive components to progressively enhance my website.
Having built a search engine with TF-IDF and inverted indexes, we will now implement fuzzy matching to make searching error-tolerant.
Did you know JavaScript has a built-in way to format relative time? It's called Intl.RelativeTimeFormat
and it's awesome!
Learn how to easily detect the user's operating system in the browser using JavaScript.
Building on top of the TF-IDF and inverted index implementation, we will implement partial search matching to make searching more robust.
Building on top of the Porter stemmer, we'll explore how to use TF-IDF and an inverted index to implement a search algorithm in JavaScript.
Learn how to implement the Porter stemming algorithm in JavaScript, a simple algorithm for stripping English words of common suffixes.
Let's demystify signals and reactivity, one of the most popular patterns in modern JavaScript, using event-driven programming!
In the last installment of the series, we'll refactor our codebase to reduce bundle size and complexity, while making it more maintainable.
Having set up our environment and designed the API, it's time to implement the RegExp library we've been planning, using Vite and Vitest.
Building atop the TDD foundation from last time, let's explore how to design a user-centric API for our JavaScript library.
I recently built a project using Test-Driven Development (TDD) and it was a great experience. Here's why I think you should try it, too.