DevIdiot!
Build a Connect Four Game with JavaScript
Connect Four is the perfect first board game to build in JavaScript. The rules are simple, the board is just a grid, and the win check — four in a row — teaches you the most useful pattern in game programming: scanning a grid in four directions.What you are buildingA 7-column, 6-row board where two players take turns dropping discs, and the game announces the winner as soon as someone gets four in a row.The JavaScript: the board is an arrayconst ROWS = 6, COLS = 7;let board = Array.from({ length
Build a Joke Generator App with JavaScript
A joke generator is the friendliest API project there is: one button, one API call, one laugh. It is also a genuinely good way to learn async JavaScript, because the whole app is a single fetch() wrapped in a button click.What you are buildingAn app with one button that fetches a random programming joke and shows it, with a loading state while the joke is on its way.The JavaScript: the whole appconst jokeEl = document.querySelector('#joke');const btn = document.querySelector('#new-joke-btn');asy
Build a GitHub Profile Finder App with JavaScript
GitHub has a free public API that returns a user's profile — their avatar, bio, follower count, and public repos — without any login. A profile finder is a great second API project, because it teaches you to turn one API response into a small profile card.What you are buildingAn app where you type a GitHub username and get a profile card: avatar, name, bio, followers, following, and public repo count. If you are learning to code and want a structured place to practise, the free Python section on
Build a Dictionary App with JavaScript
A dictionary app is the best first API project, because the API is free, needs no key, and returns exactly the data you want to display. You type a word, and you get its meaning, its pronunciation, and an example sentence.What you are buildingAn app that takes a word, calls the free Dictionary API, and shows the first definition, the part of speech, and an example — with a clear message when the word is not found.The JavaScript: fetch and displayasync function lookup(word) { const status = docu
Space survivor roguelite browser game: when your weapons are worlds in orbit around you
If you are looking for a space survivor roguelite browser game, STAR AGAINST THE DARK is a free survivor-like game in your browser: you play a newborn star, and the worlds you kindle into orbit around you are your weapons. This post is about what makes a survivor-like work, what changes when the weapons are bodies in orbit, how to read a run and how to pick upgrades. It is written for someone who has never opened the game.A note on how it was made: the game was built with heavy AI help, directed
Build a URL Shortener App with JavaScript
Long URLs are ugly in a bio, a chat message, or a printed flyer. A URL shortener turns them into short codes — and building a front-end version is a great way to learn how mapping, encoding, and the Clipboard API work.What you are buildingAn app where you paste a long URL, get a short code for it, and copy the short link with one click. This is a front-end demo — the codes are stored in localStorage, so it shows the full flow without needing a server.The JavaScript: generate a short codefunction
Building Jira apps on Forge, part 1: your first app, and what broke on the way
This year I built a little over twenty Forge apps for Jira, and 14 of them are now live on the Atlassian Marketplace. Most of what I know about Forge I learned from something that passed every check and still didn't work.This series covers the parts the hello world skips. Part 1 starts at the very beginning: what a Forge app actually is, a small working app (a panel that counts a work item's links), and the five mistakes from my own apps I'd warn you about first. What Forge is, in one pictu
Format and validate JSON without uploading it anywhere
A mangled API response printed on one line is a daily annoyance. Most online JSON formatters fix it fine, but they send whatever you paste to a server. That's OK for test data. It's less OK when the payload has customer records, access tokens, or internal hostnames in it.Here is one that never leaves your browser: JSON Formatter and Validator.What it does:Formats with 2 spaces, 4 spaces, or tabs, and minifiesValidates what you paste and, where the browser's parser reports a position, converts it
Build a Kanban Board App with JavaScript
A Kanban board is three columns — To Do, Doing, Done — and cards you move between them. It is the simplest project management tool that exists, and building one teaches you drag and drop, state management, and persistence in a single project.What you are buildingA three-column board where you add tasks, drag them between columns, and everything is saved in localStorage.The HTML: three columns, one list each<div class="board"> <div class="column" data-status="todo"> <h2>To D
Build a Bookmark Manager App with JavaScript
Browsers already have bookmarks, but they are a mess: hundreds of links, no search, no order. Building your own bookmark manager takes an hour, and it teaches you the most useful skill in front-end development — keeping a list of things in sync with the screen.What you are buildingAn app where you save a title and a URL, see all your bookmarks as clickable links, search through them, and delete the ones you no longer need — all saved in localStorage.The HTML: two inputs and a list<input id="t
Make the agent use the existing Breadcrumb component, not a homemade slash path
The PR renders a page path as a row of links with / in between, or it maps location.pathname into spans and chevrons. The repo already has a Breadcrumb component with a nav landmark, separators, and aria-current="page" on the last item. Nearby settings and project pages use it. The homemade path has no landmark, the current page is just another link, and the separators are announced as text.I've started treating a homemade slash path as an incomplete nav, not as a lighter breadcrumb. Printing th
Next.js 16 sitemap.ts and robots.ts: NaN URLs, a lastmod that changes every request, and 4 more traps
I added sitemap.ts and robots.ts to a fresh Next.js 16 app, starting from the docs examples, and the build passed. Then I looked at what the server sent. The <lastmod> dates changed on every request. When I split the sitemap with generateSitemaps using the Next.js 15 signature, every URL came out as NaN. Neither problem printed an error.Here are the six traps I hit, the fix for each, and the real build output. I tested everything on Next.js 16.4.6, React 19.3.0 and Node 22 in a project mad
Rocket.new Alternative: Move Your App Before Dec 31
Rocket.new closes on December 31, 2026, and building stops after December 5. If you need a Rocket.new alternative, save your code and data first, then rebuild. In ToolJet's React Builder you can rebuild a page from a screenshot: we rebuilt a Rocket.new template in under six minutes. This guide shows each step.Do this today: sync your project to GitHub and back up your database. Building stops on December 5.Key takeawaysIf you can't download your project or sync it to GitHub, take a screenshot of
How We Built VanzaVector: 548k SPDX-Vetted SVG Icons, Figma-to-CMYK Print Prepress, and 16 Procedural React SVG Engines in One Browser Suite
If you build web products, work with Figma, or occasionally send designs to a print shop or laser cutter, you probably have 7 different browser tabs bookmarked for basic asset tasks:An icon search engine (where half the results have sneaky CC BY-NC licenses).A raster-to-SVG tracer that locks DXF/EPS behind a $20/month subscription.A QR code generator that turns out to be a "dynamic" redirect that expires in 14 days unless you pay.A background remover with tiny free resolution caps.An Adobe Acrob
Stop the agent from reading localStorage directly when the repo has a storage wrapper
The PR calls localStorage.getItem or localStorage.setItem in a component, or it JSON-parses a raw key on first render. The repo already has a storage wrapper with a key prefix, parse/serialize, an SSR guard, and maybe a schema version. Nearby preference and draft code uses it. The direct call crashes during SSR, collides with an unprefixed key, and skips the migration the wrapper already owns.I've started treating a raw localStorage call as a contract break, not as a quicker persist. Saving a st
React.js ~Removing Effect Dependencies~
Removing Effect Dependencies (React Docs Summary)Source: https://react.dev/learn/removing-effect-dependencies Core IdeaAn Effect's dependency list must match the reactive values its code reads (props, state, and anything declared in the component body). You don't choose the dependencies; the code determines them. To change the dependencies, change the code. Suppressing the linter leads to stale values, so treat the dependency lint error like a compile error. Is Your Effect Doing
3 React Bugs Interviewers Love, and the Fix They Actually Want
React interviews rarely ask you to build something huge. Far more often, you get a small component that almost works and one question: "What's wrong with this?"The bugs they pick are not random. They're the ones that show whether you understand how React actually thinks: renders are snapshots, effects need cleaning up, and lists need a way to tell items apart.Here are three that come up again and again. For each one: the broken code, why it breaks, the quick fix, and the fix an interviewer is re
I sampled the Article markup on 54 pages. Every headline matched its h1, and two descriptions contain a typed-out unicode escape
On 27 November I added schema.org Article markup to the content page templates of CogniPrep: provider hubs, test pages, employer guides, test-type pages and interview guides. Today I checked it against the live site instead of trusting the unit test. The test passed all along. One finding was a bug the test could not see. The helperThe whole thing is one function that takes a headline, a path and a few optional fields, and returns the object:export function articleSchema({ headline, descrip
We stopped rendering finished reels and now render only what is transparent, so the clips are ProRes 4444 and the only person in the shot is me
Munchable's marketing video started life as finished reels: a script, a phone mock-up, narration-free scenes, rendered start to finish in Remotion. The version that works instead is the opposite. I film myself, and the package renders everything that goes on top of the footage as a transparent layer.The repository now has a reels package that outputs three kinds of thing: transparent overlays, one call-to-action end card, and transparent icons. This post is about the mechanics, because getting a
A Safer Data Model for Crypto Price Widgets: Quotes, Scenarios and Costs
A price widget can show a current market value, a projected value and a purchase estimate within a few pixels of one another. All three may use the same currency symbol. They are still different kinds of data.This matters when you build crypto research interfaces: a number calculated from a slider must not silently become an executable quote.Disclosure: I work with Zoomex. The Zoomex pages linked below are examples and further reading. This is an independent design example, not a description of