How to actually learn to code
Ideas on building habits, getting unstuck, and turning practice into real skill. Written by the people building Devpuff, for the people using it.
Browse every post
Newest first. Filter by category, or search for whatever you're stuck on.

Git merge vs rebase, with the real graphs side by side
Merge preserves history and adds a commit. Rebase rewrites history and adds none. Here is one branch integrated both ways in a real repository.
Read more
Frontend vs backend, which should you learn first?
Learn frontend first. Here is the reasoning, what each side does all day, what the labour data really says, and the questions that flip the answer.
Read more
CSS flexbox, a guide built on measured layouts
Flexbox is two properties and one axis rule. Here is that model, measured in a real browser, plus the two traps that make flex items misbehave.
Read more
Chrome DevTools for beginners, the 20% you use daily
DevTools has about twenty panels and you need four. Here is what each one answers, the shortcuts worth learning, and how to debug without console.log.
Read more
Vibe coding, what it is and exactly where it breaks
Vibe coding means describing what you want and shipping what the AI writes without reading it. It works for four things and fails badly at five others.
Read more
SQL joins explained, which rows survive and why
INNER, LEFT, RIGHT, FULL and CROSS joins on the same two tables, with the real result rows. Plus why the Venn diagram everyone shows you is misleading.
Read more
Python for loop with index, enumerate() explained
Use enumerate() to get the index and the item in one loop. The syntax, the start argument, and why range(len()) breaks on half of what you loop over.
Read more
JavaScript closures explained with 3 examples
A closure is a function that remembers the variables around it after the function that made them has finished. Three real uses and the classic loop bug.
Read more
How do websites work? Follow one click end to end
Type a URL, press enter, and a lot happens before anything appears. Here is every step in order, from name lookup to the pixels on your screen.
Read more
How to center a div in CSS, every method that works
Flexbox centers a div in two lines. Here is that method, the five others worth knowing, and the two reasons centering silently does nothing.
Read more
How to undo your last Git commit, every scenario
git reset --soft HEAD~1 undoes a commit and keeps your work. Here is the version for every situation, including pushed commits, and how to undo the undo.
Read more
Big O notation explained with everyday examples
Big O describes how work grows as your data grows. Count operations instead of timing them, and the whole thing becomes numbers you can check yourself.
Read moreReading about code is fun. Writing it is better.
Put an idea into practice right now. Write real code in your first free lesson.
