Skip to main content
{/}codefunc

Developer journal

Blog

Guides, release radar, and practical frontend articles. Each post links to the free tools on codefunc — read the approach, then try it in your browser.

Featured

3

Categories

5

All articles

80
Web & API

Content-Type and MIME Types: Headers, Uploads, and API Responses

Get Content-Type right for APIs, file uploads, and static assets — charset parameters, multipart boundaries, sniffing risks, and a practical MIME lookup workflow.

Aug 8, 20265 minRead
Web & API

HTML Entities and Character References: Escape Correctly in Markup

Named and numeric HTML entities, when to encode, XSS pitfalls, and how entity lookup pairs with MIME awareness when pasting content into HTML and email.

Aug 7, 20266 minRead
Guides

Word and Character Counts for UI Copy, SEO, and Reviews

How to count words and characters the way products and platforms do — limits, diffs, Markdown pitfalls, and a practical editing workflow for developers who ship copy.

Aug 6, 20266 minRead
Guides

Case Conventions for Developers: camelCase, snake_case, kebab-case, and More

A practical guide to naming conventions across JavaScript, APIs, CSS, and URLs — plus how to convert cases safely without breaking acronyms or slugs.

Aug 5, 20265 minRead
Web & API

Inspecting UUIDs and ULIDs: Version, Variant, and Embedded Timestamps

Decode UUID and ULID strings to read version bits, variants, and timestamps — a practical debugging guide for APIs, logs, and database keys.

Aug 4, 20266 minRead
Guides

Lorem Ipsum and Placeholder Content: Design Without Fake Meaning

How to use Lorem Ipsum, fake user data, and Markdown fixtures effectively — when placeholder text helps layouts, when it hides product problems, and how to generate it locally.

Aug 3, 20266 minRead
Web & API

Base58 Encoding Explained: Bitcoin Addresses, IPFS CIDs, and Compact IDs

Learn when Base58 beats Base64 — alphabet rules, leading-zero handling, checksum variants, and how to encode or decode safely in the browser.

Aug 2, 20266 minRead
CSS & Design

CSS Transitions, Keyframes, and Units: Motion That Stays Maintainable

Choose transitions vs @keyframes, pick units that scale, and build reusable motion snippets — with performance and accessibility rules that keep UI snappy.

Aug 1, 20266 minRead
Guides

XPath and CSS Selectors: Test Expressions Before They Hit Production

When to use XPath vs CSS selectors, how to write stable queries, and a browser-side workflow for testing against real HTML without shipping brittle scrapers.

Jul 31, 20265 minRead
Guides

XML Formatting for Developers: Readability, Namespaces, and Safe Edits

How to format and inspect XML without breaking namespaces, attributes, or mixed content — plus when to beautify vs minify and how XPath fits the workflow.

Jul 30, 20266 minRead
Guides

CSV and JSON Data Interchange: Round-Trips Without Silent Corruption

How to convert between CSV and JSON safely — quoting, nested objects, type coercion, headers, and a workflow that catches breakage before it hits production.

Jul 29, 20266 minRead
Web & API

HMAC Request Signing for Webhooks: Canonical Strings, Timing-Safe Compare, and Fixtures

How HMAC signatures protect webhooks — canonical message construction, hex vs Base64 encodings, timing-safe comparison concepts, and building reliable test fixtures.

Jul 28, 20266 minRead
Web & API

IP Subnetting for Frontend Developers: CIDR, VPCs, and Local Networks

CIDR notation explained for frontend and full-stack developers — private ranges, VPC subnets, localhost quirks, and how to read /24 vs /16 without memorizing the whole CCNA.

Jul 27, 20265 minRead
Guides

SQL Formatting for Readable Queries: Reviews, Dialects, and Migration Safety

How to format SQL for code review clarity, where dialects disagree, and when you should not reformat production migrations or generated queries.

Jul 26, 20265 minRead
Guides

QR Codes for Developers: URLs, Wi‑Fi, OTP Enrollment, and SVG Output

How to use QR codes in product flows — URL and Wi‑Fi payloads, otpauth enrollment, error correction levels, and when SVG beats raster for crisp rendering.

Jul 25, 20265 minRead
Guides

Markdown and HTML Workflows: GFM Preview, Round-Trips, and When to Beautify

A practical GFM workflow for developers — preview Markdown safely, convert HTML when needed, and understand the caveats of Markdown ↔ HTML round-trips.

Jul 24, 20265 minRead
Guides

Formatting GraphQL Queries for Readable Reviews and Playgrounds

Why compact GraphQL queries hurt reviews, how to format selection sets consistently, and a browser workflow before you paste into Apollo or GraphiQL.

Jul 23, 20262 minRead
Guides

JSONPath for API Debugging: Query Nested JSON Without Writing Loops

Use JSONPath to extract fields, filter arrays, and inspect nested API payloads — with practical expressions and a browser tester workflow.

Jul 23, 20262 minRead
Web & API

Password Generators and Entropy: Character Sets, CSPRNG, and What Not to Hash

How password entropy works, why character sets matter, when browser CSPRNG is enough, and why generated passwords are not a substitute for proper password storage hashing.

Jul 23, 20267 minRead
Guides

SVG Optimization for Icons: Minify Markup and Embed as Data URLs

Shrink SVG icons for the web — strip comments and whitespace, choose inline vs data URLs, and know when you still need a full SVGO pipeline.

Jul 23, 20262 minRead
Guides

Unified Diffs and Patches: Create, Summarize, and Apply Changes Cleanly

How unified diffs work, when to use a patch viewer vs text/JSON diff, and a safe browser workflow for creating and applying single-file patches.

Jul 23, 20262 minRead
Web & API

URL Anatomy and Percent-Encoding: Query Strings Without the Bugs

Break down URL parts, encode query values correctly, and know when to use encodeURIComponent vs encodeURI — plus reserved characters that break APIs.

Jul 22, 20266 minRead
Guides

Favicons and PWA Icons in 2026: Sizes, Manifest, and theme-color

Ship the right favicon and apple-touch-icon sizes, wire Web App Manifest icons, set theme-color, and avoid the common gaps that leave tabs and home screens looking broken.

Jul 21, 20266 minRead
CSS & Design

CSS Gradients, Shadows, and Easing: Visual Tokens That Perform

Build practical gradient and shadow design tokens, pick easing curves that feel right, and avoid paint-heavy effects that tank scroll performance.

Jul 20, 20266 minRead
Guides

YAML vs TOML vs JSON: Choosing Config Formats Without the Footguns

When to use JSON, YAML, or TOML for app config — conversion pitfalls, trailing commas, multiline strings, and a safe workflow for editing and validating files.

Jul 19, 20266 minRead
Web & API

AES in the Browser: Web Crypto Demos vs Production Key Management

Use AES-GCM with Web Crypto for demos and learning, understand IV and auth tags, and know why inventing browser-only crypto protocols fails in production.

Jul 18, 20266 minRead
Web & API

Generate curl Snippets from OpenAPI to Reproduce API Bugs

Turn OpenAPI operations into accurate curl commands, attach auth headers correctly, and use snippets to reproduce frontend API failures for backend teammates.

Jul 18, 20266 minRead
Guides

Debugging Regular Expressions in Frontend JavaScript

Master JavaScript RegExp flags, avoid catastrophic backtracking, know when regex is the wrong parser, and build a live testing workflow that catches bugs before production.

Jul 17, 20266 minRead
Guides

Sitemap XML and Search Console: Structure, lastmod, and robots.txt Pairing

Build a correct sitemap.xml, keep lastmod honest, submit it in Google Search Console, and pair it with robots.txt so crawlers discover the pages you actually want indexed.

Jul 17, 20265 minRead
Web & API

Browser Hashing with SHA: Checksums, Web Crypto, and When to Use HMAC

Learn SHA-1/256/384/512 in the browser, the difference between checksums and password hashing, how Web Crypto digests work, and when HMAC belongs in your frontend workflow.

Jul 16, 20266 minRead
Web & APIFeatured

CORS Headers for Frontend Developers: Preflight, Credentials, and Common SPA Mistakes

Understand browser CORS, OPTIONS preflight, Access-Control-Allow-Origin, and credentials mode — plus the SPA misconfigurations that waste hours in production debugging.

Jul 16, 20267 minRead
Guides

JSON Diff: Structural Comparison vs Text Diff for Config and Code Review

How to compare JSON structurally — key order, arrays, nested objects — and when to use JSON diff versus line-based text diff in config and API review workflows.

Jul 15, 20266 minRead
Guides

JSON Schema Validation: Contracts, Required Fields, and API Mistakes to Avoid

Learn JSON Schema basics — types, required properties, common API contract errors — and how to validate payloads in the browser before you commit or deploy.

Jul 14, 20266 minRead
Web & APIFeatured

TOTP 2FA Explained: RFC 6238, Base32 Secrets, and Clock Skew

How time-based one-time passwords work — shared Base32 secrets, 30-second windows, HMAC algorithms, clock skew, and why browser TOTP tools are for test secrets only.

Jul 13, 20266 minRead
Web & APIFeatured

Content Security Policy for SPAs: Directives, Nonces, and Fixing React/Vite Breakage

Configure CSP for single-page apps — script-src with nonces and hashes, common React and Vite failures, CORS interplay, reporting, and a practical rollout checklist.

Jul 12, 20266 minRead
Web & APIFeatured

Robots.txt Checker: How to Test, Validate, and Fix Crawl Rules

A practical guide to robots.txt — syntax, common mistakes, how to check and validate your file, and when Disallow blocks indexing vs crawling.

Jul 11, 20266 minRead
Web & APIFeatured

Unix Timestamps and ISO-8601 Dates: Seconds, Milliseconds, and Safe Conversion

How to convert Unix epoch seconds and milliseconds, read JWT exp claims, format ISO-8601 correctly, and avoid DST and timezone bugs in APIs and frontends.

Jul 11, 20266 minRead
Web & APIFeatured

Base64 Encoding for the Web: Data URLs, Auth Headers, and When Not to Use It

A practical guide to Base64 and Base64url on the web — encoding binaries for data URLs and Authorization headers, padding rules, size costs, and when client-side tools keep secrets offline.

Jul 10, 20267 minRead
Workflow

Semantic Versioning Explained: MAJOR.MINOR.PATCH, Ranges, and Bump Workflows

Master SemVer for libraries and apps — pre-releases, caret vs tilde ranges, breaking-change discipline, and a release workflow that keeps dependents sane.

Jul 9, 20265 minRead
Web & API

Cron Expressions Explained: Fields, Syntax, and the Gotchas That Miss Runs

A complete guide to cron syntax — the five fields, special characters, real-world examples, and the timezone, day-of-week, and non-standard pitfalls that silently break schedules.

Jul 8, 20265 minRead
Web & API

HTTP Headers and Cookies Decoded: Request, Response, and Set-Cookie

Parse request and response headers, understand Set-Cookie attributes, and avoid User-Agent sniffing traps — with practical debugging workflows for APIs and browsers.

Jul 8, 20266 minRead
Web & API

ULID vs UUID vs Nano ID: Choosing the Right Identifier

A practical comparison of UUID, ULID, and Nano ID — sortability, index performance, collision odds, and URL safety — so you can pick the right ID format for your database, API, and URLs.

Jul 8, 20266 minRead
Workflow

Unix File Permissions Explained: chmod, Octal, and the rwx Model

Understand Unix file permissions end to end — the user/group/other model, octal math, symbolic notation, common permission sets, and the security mistakes that cause 403s and leaked keys.

Jul 8, 20265 minRead
CSS & Design

Vanilla Extract: Zero-Runtime CSS-in-TypeScript

A practical guide to Vanilla Extract — type-safe styles at build time, theming with CSS variables, recipes and sprinkles, and when to pick it over Tailwind or CSS Modules.

Jul 8, 20269 minRead
Web & API

How to Verify a JWT Signature (Without Leaking Secrets)

Decoding a JWT is not verifying it. Learn how signature verification works, the alg:none and algorithm-confusion attacks to avoid, which claims to check, and how to inspect tokens safely in development.

Jul 8, 20264 minRead
Workflow

Agile Development in 2026: Scrum, Kanban, and When to Use Each

A practical guide to agile frameworks — Scrum sprints, Kanban flow, XP, and Lean — with comparison tables, ceremonies, and honest advice on what actually works for software teams.

Jul 7, 202611 minRead
Workflow

AI-Powered Frontend Development: Tools, Workflows, and What Actually Works in 2026

A practical guide to using AI in frontend development — code assistants, component generation, debugging, testing, and the workflows that make AI useful without losing code quality.

Jul 7, 20268 minRead
Guides

Browser DevTools Mastery: Debugging, Profiling, and Network Analysis

A practical guide to Chrome DevTools for frontend developers — inspecting elements, debugging JavaScript, analyzing network requests, profiling performance, and workflows that save hours of debugging time.

Jul 7, 20269 minRead
Guides

CSS Architecture: Tailwind vs CSS Modules vs CSS-in-JS

A practical guide to CSS architecture patterns — when to use Tailwind for rapid development, CSS Modules for component scoping, or CSS-in-JS for dynamic styling.

Jul 7, 20267 minRead
CSS & Design

CSS Flexbox and Grid: When to Use Each and How They Work Together

A practical guide to modern CSS layout — flexbox for one-dimensional alignment, grid for two-dimensional structure, and patterns for combining them in production components.

Jul 7, 20269 minRead
Workflow

E2E Ownership and Eyes on Production: Who Watches What You Ship

Why E2E tests need an owner, not a orphan folder — and what 'eyes on production' really means: synthetic checks, alerts, post-deploy smoke, and closing the loop between CI green and users happy.

Jul 7, 202611 minRead
Guides

Web Animations: Framer Motion and CSS for React Developers

A practical guide to animations in React — CSS transitions and keyframes, Framer Motion for complex interactions, performance optimization, and accessibility considerations.

Jul 7, 20267 minRead
GuidesFeatured

Frontend Authentication: OAuth 2.0, JWT, and Session Tokens Explained

A practical guide to authentication for frontend developers — understanding OAuth flows, JWT structure, session cookies, and implementing secure auth in React applications.

Jul 7, 20268 minRead
Guides

Frontend Security: XSS, CSRF, and Best Practices

A practical guide to frontend security — preventing cross-site scripting (XSS), cross-site request forgery (CSRF), securing authentication, and building defense in depth.

Jul 7, 20268 minRead
Workflow

Git Workflow for Frontend Teams: Branches, Commits, and Collaboration Patterns

A practical guide to Git for frontend developers — branching strategies, commit conventions, pull request workflows, and the commands you'll use daily on product teams.

Jul 7, 20268 minRead
Guides

GraphQL for Frontend Developers: Queries, Mutations, and Caching

A practical guide to using GraphQL in frontend applications — writing queries and mutations, client-side caching with Apollo and urql, and patterns for React integration.

Jul 7, 20268 minRead
Guides

HTML Semantics: Document Structure That Helps Users, Search Engines, and Your Future Self

A practical guide to semantic HTML — landmarks, headings, lists, and sectioning elements that improve accessibility, SEO, and maintainability without extra frameworks.

Jul 7, 20269 minRead
Guides

Monorepos for Frontend: Turborepo, Nx, and Workspace Management

A practical guide to monorepo architecture — when to use monorepos, setting up Turborepo or Nx, shared packages, caching, and CI/CD optimization.

Jul 7, 20266 minRead
Guides

Next.js Caching and Data Fetching: The Four Cache Layers Explained

A practical guide to caching in Next.js 15+ — Request Memoization, Data Cache, Full Route Cache, and Router Cache demystified with patterns for static generation, ISR, and on-demand revalidation.

Jul 7, 20268 minRead
Guides

Playwright for E2E Testing: A Practical Guide for Frontend Developers

Learn end-to-end testing with Playwright — writing reliable tests, handling authentication, testing across browsers, and integrating with CI/CD pipelines.

Jul 7, 20267 minRead
Guides

Progressive Web Apps: Service Workers, Offline-First, and Installation

A practical guide to building Progressive Web Apps — service workers for offline support, web app manifest for installation, caching strategies, and turning your website into an installable app.

Jul 7, 20268 minRead
Guides

QA and Test Automation: Unit, Integration, and E2E Explained

A practical guide to the testing pyramid — what unit, integration, and end-to-end tests actually do, when to write each, and how to automate them in CI without slowing your team down.

Jul 7, 202612 minRead
Workflow

Quality vs Velocity in Software Development: A False Tradeoff, Honestly Discussed

Teams say they must choose speed or quality — but the tradeoff is usually poorly designed process, not physics. How to measure both, when to slow down, and when shipping faster actually improves quality.

Jul 7, 202610 minRead
Guides

React Hook Form + Zod: Modern Form Validation

A practical guide to building forms with React Hook Form and Zod — type-safe validation, error handling, complex form patterns, and integration with UI libraries.

Jul 7, 20268 minRead
Guides

Internationalization in React: i18n with react-i18next and Next.js

A practical guide to internationalizing React applications — setting up translations, handling plurals, formatting dates and numbers, and implementing language switching.

Jul 7, 20267 minRead
Guides

React State Management in 2026: Server State, Client State, and When to Use What

A practical guide to modern React state management — TanStack Query for server state, Zustand for client state, and patterns that replaced Redux for most applications.

Jul 7, 20268 minRead
Web & API

REST APIs for Frontend Developers: Requests, Responses, and Error Handling

A practical guide to consuming REST APIs in frontend applications — HTTP methods, status codes, fetch patterns, authentication, error handling, and debugging techniques.

Jul 7, 20269 minRead
Guides

TypeScript for Frontend Developers: Types That Catch Bugs Before Users Do

A practical introduction to TypeScript in frontend projects — type annotations, interfaces, generics, and the compiler settings that make React and API code safer without slowing you down.

Jul 7, 20269 minRead
Guides

Vite vs Webpack vs esbuild: Choosing the Right Build Tool in 2026

Vite vs webpack vs esbuild — a practical comparison of modern JavaScript build tools, when to use each, and what to pick for new projects in 2026.

Jul 7, 20266 minRead
GuidesFeatured

Web Accessibility in 2026: A Developer's Guide Beyond Color Contrast

Semantic HTML, keyboard navigation, focus management, ARIA, forms, and testing — a practical WCAG 2.2 checklist for frontend developers who want accessible products, not checkbox compliance.

Jul 7, 202611 minRead
Guides

Web Performance and Core Web Vitals: What to Measure and How to Fix It

A practical guide to frontend performance — LCP, INP, CLS explained, with optimization techniques for images, JavaScript, fonts, and rendering that improve both user experience and search rankings.

Jul 7, 20269 minRead
Guides

WebSockets and Real-Time Data: A Frontend Developer's Guide

Learn to implement real-time features with WebSockets and Server-Sent Events — chat apps, live notifications, collaborative editing, and handling connection state in React.

Jul 7, 20268 minRead
Guides

AI and SEO in 2026: How AI Helps (and Hurts) Getting Your Site Indexed

A practical guide to search indexing in the AI era — what crawlers still need, how LLMs surface content, and where AI tooling actually speeds up discoverability without spam penalties.

Jul 6, 20268 minRead
Workflow

Ship Fast Without Breaking Production: Workflow, Automation, and Constant Releases

How small batches, automated quality gates, and boring CI pipelines let teams release to production daily — without trading speed for stability.

Jul 6, 20268 minRead
GuidesFeatured

How to Format and Validate JSON Safely in the Browser

The complete guide to prettifying, validating, repairing, and debugging JSON in production workflows — without leaking sensitive API data to remote servers.

Jul 5, 20268 minRead
Web & APIFeatured

JWT Anatomy: Header, Payload, and Signature Explained

A deep dive into JSON Web Token structure, signing algorithms, common vulnerabilities, and a safe workflow for decoding tokens in development without exposing production secrets.

Jul 3, 20267 minRead
Release Radar

Frontend Release Radar — July 2026

A curated, opinionated roundup of the frontend framework, build tool, CSS, and testing releases shaping how teams ship production apps this month — with migration checklists for each.

Jul 1, 20267 minRead
CSS & Design

CSS clamp() Explained: Fluid Typography and Spacing Without Media Query Hell

Master the clamp() function for responsive font sizes, gutters, and component dimensions — with formulas, real examples, and common mistakes that break layouts.

Jun 28, 20265 minRead
CSS & DesignFeatured

A11y Color Contrast: WCAG AA vs AAA and How to Fix Failing UI

A practical a11y guide to color contrast ratios, WCAG 2.2 success criteria, and a step-by-step workflow for auditing text, icons, and interactive states.

Jun 25, 20265 minRead
GuidesFeatured

Meta Tags for SEO in 2026: What Still Matters and What to Skip

The definitive checklist for title tags, meta descriptions, Open Graph, Twitter cards, canonical URLs, and robots directives — with copy-paste examples for Next.js and static sites.

Jun 22, 20266 minRead

Search tools

Find a developer tool