Back to Blog

Why you should learn to code … in the browser

Mark Worrall

10 Dec 2024

3 min read

Why you should learn to code … in the browser

If you're a complete beginner at coding, you ought to consider learning to code in the browser.

You might think this is ideological BS, but there are at least 3 solid (science-backed) reasons for this view:

1. Cognitive Load Theory

In the early stages of knowledge-acquisition, your brain can only handle so much before your finite working memory gets overwhelmed. Setting up coding environments or battling with IDE settings eats into your limited bandwidth and distracts you from the core material you're trying to master. Who hasn't sat down to write code and ended up troubleshooting their setup for half an hour instead? Start in a simple browser-based environment where the focus is on coding, not fighting your tools.

2. Memory is the residue of thought

What you focus on during a session is what sticks. Be honest: when you're learning to code, how much time do you spend actually coding versus fiddling with your editor's theme or plugins? We've all likely done this and it's easy to do so once the going gets tough. Instead, prioritise an environment that's simple and keeps your attention on the code.

3. Novices are not mini-experts

Experts rely on mental frameworks (schemas) built from years of practice. As a beginner you don't have these yet, so copying expert workflows - like jumping straight into complex setups - is a recipe for frustration. Don't listen to this siren call. Own where you are. Start as a beginner. Think like a beginner. And build the right habits from the start.

Ready to learn to code the right way?

Nodeledge is built around science-backed principles like these to ensure you master coding step by step.