Okay, so I’ve been messing around with front-end stuff again, and I stumbled upon this whole “Dotson vs. London” thing. It’s basically about two different ways to, like, organize your CSS and make sure it doesn’t turn into a giant, tangled mess.

First, I tried the Dotson method. The idea is you keep your styles super close to your HTML.
I created my basic HTML file. Nothing fancy, just a simple structure with some divs and headings.
- I added a simple <style> tag into HTML.
- Then, inside that tag, I wrote CSS selectors that, like, targeted elements from HTML.
Honestly, at first, it felt pretty good. I changed some colors, played with the fonts, and it all worked without me having to jump between files. Everything was right there, super convenient. The page looked exactly how I * then, as I added more elements, the <style> tag got…big. Really big. It started feeling messy, even though it was all technically in one place.
Trying Out London
So, I decided to give the London method a shot. This one’s all about separating your CSS into its own separate * took a moment to get everything set up, but not too bad.
The main difference? I had to, like, manually tell the HTML file where to find the CSS.
- I created a new file, named it “*”.
- I cut all styles from <style> tag in HTML and paste to *.
- I added some basic styles there.
I refreshed the page, and…it worked! My styles were being applied, even though they were in a different * felt cleaner, for sure. Like, my HTML could just focus on being HTML, and the CSS could do its own thing. And I guess as the project grows, that separation would make it way easier to manage.I could easily find and edit specific styles without digging through a massive HTML file.
So, yeah, that’s my little experiment with Dotson and London. I can see the appeal of both,I think I’m leaning towards London for bigger projects. It just feels more organized in the long run.
