Beginner guides.
No background assumed. What a database, a domain or an environment variable actually is, and how to get an app you built with AI online and keep it there.
511 posts · page 9 of 21
JavaScript vs TypeScript: What's the Difference and Which Should You Use?
TypeScript is JavaScript plus types: you describe what shape your data has, and mistakes are caught before the code runs. The real differences, what TypeScript costs you, why most AI tools now generate it, and whether a beginner should start with it.
JavaScript Promises Explained: then, catch, and Promise.all
A promise is JavaScript's way of saying 'I'll have the answer later'. What promises are, the three states, .then and .catch, how async/await relates, running things in parallel with Promise.all and allSettled, and the mistakes that cause unhandled rejections.
JavaScript Array Methods: map, filter, reduce, find and Friends
Most JavaScript in AI-generated apps is arrays being transformed. What map, filter, find, some, every, reduce, sort and includes do, with plain examples, how to chain them, which ones change the original array, and the mistakes that cause bugs.
"TypeError: X Is Not a Function": The Common Causes and Fixes
"is not a function" means you tried to call something that isn't a function — usually undefined, an object, or the wrong kind of value. The usual suspects: .map on a non-array, wrong import, missing await, a typo, or a name collision. How to diagnose each.
IPv4 vs IPv6: What's the Difference and Does It Matter for Your App?
IPv4 addresses look like 203.0.113.7; IPv6 addresses look like 2001:db8::1. Why the internet ran out of IPv4, what IPv6 changes, A vs AAAA DNS records, and the practical things app builders need to check — like listening on both and firewalls.
React "Invalid Hook Call": The 3 Causes and How to Fix Each
React throws 'Invalid hook call' when a hook runs outside a component, when hooks are called conditionally or in a regular function, or when two copies of React are loaded. How to tell which one you have and fix it — including npm ls react and linked packages.
How to Import a CSV Into PostgreSQL (COPY, \copy, and GUI Tools)
Four ways to load a CSV into Postgres: the \copy command in psql, server-side COPY, a GUI like pgAdmin or DBeaver, and your platform's dashboard. Creating the table first, headers, delimiters, dates and empty values, and fixing the errors you'll hit.
HTTP Headers Explained: The Hidden Part of Every Request
Every web request and response carries headers — extra information about the content, the client, authentication, caching and security. The headers you'll meet most (Content-Type, Authorization, Cookie, Cache-Control, CORS), how to see them in DevTools, and how to set them.
How to Test an API: Tools and a Simple Checklist for Beginners
Testing an API means sending requests and checking the responses — by hand with curl, Postman, Bruno or your editor, and automatically with tests that run on every change. What to check (status codes, body, auth, bad input), example tests, and a checklist.
How to Price Your SaaS: A Beginner's Guide to Charging for Your App
Pricing is the decision first-time founders avoid longest. How to pick a pricing model (flat, tiered, per-seat, usage), how to set a first number, why free plans are expensive, how AI costs change the maths, and how to raise prices later.
How to Center a Div (Horizontally, Vertically, or Both)
The internet's favourite CSS joke has simple answers now. How to center anything horizontally, vertically or both with Flexbox, Grid, margin auto and absolute positioning — with the Tailwind classes — and why your centering isn't working.
How to Build an AI App: A Beginner's Step-by-Step Guide
The parts every AI app needs — a frontend, a backend that holds your API key, a model API, a database and usage limits — and the steps from idea to a working, deployed app. With a minimal code example and the mistakes that cost beginners the most.
How to Host a Website for Free (and What 'Free' Really Means)
Static sites can be hosted free, properly, on GitHub Pages, Cloudflare, Netlify or Vercel. Apps with a backend and database are harder: free tiers sleep, expire or forbid commercial use. Which free options fit which kind of site, step by step, and the catches to know.
How to Host a Telegram Bot: Polling vs Webhooks, and Where to Run It
Telegram bots receive messages in one of two ways: long polling (your bot asks Telegram) or webhooks (Telegram calls your URL). How each works, which hosting fits each — a VPS, serverless functions, a container platform — with setup steps, token safety and the common mistakes.
How to Host a Discord Bot 24/7 (Python or JavaScript)
A Discord bot only works while its program is running. Why your laptop isn't enough, the hosting options (a VPS, a container platform, a Raspberry Pi), how to keep the bot running with systemd or PM2, storing the token safely, and why free hosts are a poor fit for bots.
Hetzner vs DigitalOcean: Which Cloud Server Should You Pick?
Hetzner is known for very low prices on powerful servers, mostly in Europe; DigitalOcean for simplicity, documentation and managed services worldwide. How they compare on price, regions, managed databases, support and ecosystem, and which fits a small app.
Heroku Alternatives in 2026 (After Heroku Stopped Adding Features)
Salesforce moved Heroku into 'sustaining engineering' in February 2026 — no new features. Where Heroku users are going: Render, Railway, Fly.io, DigitalOcean App Platform, self-hosted PaaS like Coolify, or a plain VPS — with honest trade-offs for each.
Hashing vs Encryption vs Encoding: What's the Difference?
Three ways to transform data that people mix up constantly — sometimes with security consequences. Encoding changes format (Base64), encryption hides data with a key you can reverse, hashing makes a one-way fingerprint. What each is for and the mistakes to avoid.
How to Hard Refresh and Clear the Cache (Chrome, Safari, Firefox, Edge)
Changed your site but still seeing the old version? A hard refresh reloads the page while ignoring the cache. The shortcuts for every browser on Mac and Windows, how to clear the cache for one site, why hard refresh sometimes isn't enough, and how to stop users seeing stale versions.
Google Search Console for Beginners: Set It Up and Read It
Search Console is Google's free tool for seeing how your site appears in search. How to verify your domain, submit a sitemap, read the Performance and Pages reports, fix 'Crawled — currently not indexed', and use URL Inspection to get a new page noticed.
GitHub Pages: Host a Website for Free From Your Repository
GitHub Pages hosts static websites straight from a GitHub repository, free, with HTTPS. How to publish a site, deploy a React or Vite app with GitHub Actions, add a custom domain, fix the common 404 and blank-page problems, and what it can't do.
The GitHub MCP Server: Setup With Claude Code and What It Can Do
GitHub's official MCP server lets AI tools read and act on your repositories: issues, pull requests, Actions runs, code search and security alerts. How to connect it to Claude Code (remote or Docker), choose toolsets, use read-only mode, and keep your token safe.
GitHub Actions Secrets: How to Store and Use Them Safely
GitHub Actions secrets keep API keys, tokens and passwords out of your code while letting workflows use them. How to add repository, environment and organisation secrets, use them in a workflow, secrets vs variables, the fork and pull_request_target pitfalls, and OIDC instead of long-lived keys.
How to Squash Commits in Git (Three Ways)
Squashing combines several commits into one so history stays readable. Three ways to do it — git reset --soft, interactive rebase, and GitHub's 'Squash and merge' — when each fits, how to push afterwards safely, and when you shouldn't squash.