
Learn to code. Become a 10x dev with AI 🚀 Real projects, AI tutor (Stuart) on call, all in your browser. Start free 👇
Austin, Texas
Joined June 2026
- Tweets276
- Following8
- Followers428
- Likes176
4. Repeat
Loop over your data, make an element for each item with createElement, then append it. That's how lists and grids get onto a page.
for (const snack of snacks) { ... }
7
3. Change it
Set textContent to change text, or use classList to switch a CSS class on and off. The page updates straight away.
title.textContent = "Order placed!"
For anything a user typed, avoid innerHTML.
1
14
2. Listen
addEventListener takes an event name and a function. You hand the browser the function, and it runs it every time that event happens.
button.addEventListener("click", () => { ... })
1
4
1. Find it
querySelector takes any CSS selector and returns the first match, or null if nothing matches.
const title = document.querySelector("#title")
Use # for an id and . for a class. Forgetting the symbol is the classic bug.
1
6
All four steps on one card, with the full walkthroughs 🔗
What the DOM is: start.dev/blog/what-the-dom-…
addEventListener: start.dev/blog/javascript-ad…
Practice it in JavaScript DOM, first chapters free: start.dev/course/javascript-…
1
25
How does a web page react when you click it?
Four steps: find the element, listen for the event, change the page, repeat for every item.
The same four power every button, form and list you've used. Here they are in about 15 lines 🧵
1
1
98
Replying to @JorgeCastilloPr
We post daily on coding. We still want to help juniors. Learning to code will actually put you in enviable situation with AI!
1
14
Full breakdown with the common mistakes (and the SQLite gotcha):
start.dev/blog/primary-key-v…
26
A primary key says "this is who I am".
A foreign key says "this is who I belong to".
customers.id identifies each customer. orders.customer_id stores one of those ids, so every order points at a real customer.
That one link is what makes almost every SQL join work.
1
54
Replying to @Kedeodev
Both, in the following order - learn to write code first.
And then use AI to review it, enhance it.
You end up learning how to code and how to use the tool!
1
13
Take it from the experts. And yeah we are biased!
Learn to code, or at least understand the fundamentals.
Agents can confidently overstate the quality of outputs if you don't know what's really happening under the hood.
But also, use AI. But remember AI will 10x your capabilities but 10 times zero is still ZERO.
1
67
Replying to @emollick
Model was never the bottle neck.
Curiosity to learn and how things work has always been the step, where beginners always stopped though.
Knowing what to ask and what to check for is the skill now.
1
22
New Article: how to use AI like a tutor while you learn.
Try first, ask for hints, have it explain your errors, and run everything it gives you.
Seven ways to do it, with prompts you can copy 👇
30
Why does "5" + 1 give you "51" in JavaScript? Form inputs hand you text, and + joins strings 🔢
Convert once, on purpose. Number() when the whole value is a number, parseInt(s, 10) or parseFloat() when it has a unit like "42px".
The trap that catches everyone, in the reply 👇
1
46
Each value with real examples, plus z-index and why sticky sometimes refuses to stick:
start.dev/blog/css-position-…
1
37
Five CSS position values, one card 📌
Save it for the next time a badge ends up in the wrong corner. The usual cause is an absolute element whose parent has no position: relative, so it gets placed against the whole page instead.
Why sticky sometimes won't stick, in the reply 👇
1
53
Read more about f-strings in Python here 👇
start.dev/blog/python-f-stri…
19






