Posts tagged javascript
Browse related articles from the Start.dev team and instructors.

A beginner Next.js tutorial: build a small coffee menu with the App Router. Create a page, a layout, a dynamic route, and fetch data on the server.

Ariel Weinberger · 6 min read

Learn addEventListener step by step: handle clicks, typing and form submits, use the event object, and avoid the mistakes that break listeners.

Ariel Weinberger · 6 min read

TypeScript is JavaScript with types. See what it catches, what it costs, and a step-by-step path from JavaScript to TypeScript.

Ariel Weinberger · 7 min read

Destructuring unpacks objects and arrays into variables in one line. Learn renaming, defaults, nested values, function arguments and the undefined error.

Ariel Weinberger · 5 min read

The DOM is the browser's live version of your HTML. Learn how JavaScript finds elements, changes text and classes, reacts to clicks and builds new ones.

Ariel Weinberger · 5 min read

Number(), parseInt() and parseFloat() each handle text differently. See which to use, what they do with tricky input, and how to check the result.

Ariel Weinberger · 6 min read

A one-hour coding practice you can repeat on a weeknight: recall, one exercise you write, a short note, and a start line for tomorrow.

Ariel Weinberger · 7 min read

A practical order for learning React: components, then props, then state. You will know what to practice first and what can wait.

Ariel Weinberger · 6 min read

See what changes after React: which file is a page, when a component needs the browser, and why a notes list can skip useEffect.

Ariel Weinberger · 7 min read

Stuck watching tutorials but unable to build alone? Learn the four causes of tutorial hell, how start.dev solves each, and a weekly routine to break out.

Ariel Weinberger · 6 min read

Prepare for a junior React interview: the core concepts to explain, the coding tasks to practise, and short example answers for state, props, effects and lists.

Ariel Weinberger · 5 min read

Ten JavaScript interview questions junior developers get asked, with short answers, runnable examples, and the follow-ups interviewers like to ask next.

Ariel Weinberger · 5 min read

What useEffect really does, when it runs, and how the dependency array and cleanup function work. Simple examples for fetching data, timers and page titles.

Ariel Weinberger · 5 min read

Learn the JavaScript array methods you will use daily: map, filter, find, some, every, reduce and sort, with runnable examples on one shopping cart.

Ariel Weinberger · 5 min read

Learn what Express middleware is, how next() moves a request through the pipeline, and how to write a logger, an API-key gate and an error handler.

Ariel Weinberger · 4 min read

Build your first REST API with Node.js and Express in about 50 lines: routes, JSON, POST, PUT and DELETE, tested with curl, plus where to go next.

Ariel Weinberger · 5 min read

Learn how REST APIs work by following one request from client to server and back: URLs, methods, headers, status codes, JSON, and what REST actually means.

Ariel Weinberger · 7 min read

Python or JavaScript as your first language? See the same program written both ways, where each trips beginners up, and why JavaScript takes you furthest.

Ariel Weinberger · 9 min read

useState or useReducer? See the same cart built both ways, the signs it's time to switch, and a simple rule of thumb for choosing in your React components.

Ariel Weinberger · 5 min read

A plain-English guide to JavaScript async/await: what it really does, how it relates to promises, and the mistakes that trip people up.

Ariel Weinberger · 5 min read

You copied an array, changed the copy, and the original changed too. Here is what a JavaScript variable actually holds and how to copy safely.

Ariel Weinberger · 6 min read

You can read JavaScript but keep forgetting how to write it. The difference between an expression and a statement explains most of the syntax.

Ariel Weinberger · 11 min read

Learn JavaScript closures with tested examples: counters, the var vs let loop question, private state, debounce, and the stale closure bug in React hooks.

Brad Traversy · 8 min read
