Environment Shapes Behavior, Boosts Motivation

I used to think I lacked motivation to code consistently. Turns out I was wrong about what the real problem was. 👇 Atomic Habits dropped this today: "Environment is the invisible hand that shapes human behavior." A study found that 91% of people who wrote down exactly when and where they would exercise actually followed through. Not because they were more motivated. Because their environment made it obvious. So I looked at my own setup and made one change. My desk is now only for coding. Phone goes across the room. VS Code opens the moment I sit down. The chair itself became the cue. 🪑💻 One space. One use. Today that space produced: Deep dive into the DOM. How browsers turn a webpage into a tree of objects. Selecting elements, manipulating attributes, creating and removing elements dynamically, updating styles using classList. Here's what clicked for me today 👇 React doesn't do anything magical. It's just doing this DOM manipulation automatically. Understanding it manually means I actually know what's happening under the hood when React updates the UI. That's the difference between using a tool and understanding it. 🔧 Solved 3 DSA problems alongside.🧑💻 Day 5 of showing up publicly. 🚀 #100DaysOfCode #JavaScript #DSA #LearningInPublic #SoftwareEngineering

To view or add a comment, sign in

Explore content categories