Enny vs AI: When One Line of CSS Beats Twenty Lines of Code

Every now and then, AI hands me something that makes me smile, shake my head, and think, “Oh mate, you tried.” The other week, I ran into one of those moments. I was working on a Squarespace site and needed a simple fix for anchor offsets. In my head, I already knew the solution. I’d used it many times, and it was tidy, elegant, and worked perfectly.

But I thought, let’s test the waters. Let’s see what AI says. Maybe it surprises me. Perhaps it suggests something even cleaner. So I asked, “How do I offset anchor links in Squarespace?

And what did I get?

A full page of JavaScript. Event listeners. Query selectors. Calculated scroll positions. Prevent default behaviours. A small novel of code for something that, deep down, I knew wasn’t that complicated. It was almost adorable. AI meant well. It tried very hard. It delivered twenty lines of earnest, slightly over-engineered effort.

Then I typed the actual solution.

[id] {
  scroll-margin-top: 100px;
}

One line. Clean. Calm. Elegant. Problem solved.

This is the part where people say AI is taking all the creative jobs. But honestly, moments like this remind me why that won’t happen (at least not yet). AI can generate many answers. It can give you options. It can help you think. But it still needs a human who understands context, platform quirks, and the beauty of a simple fix. AI solves problems from the outside. Designers solve them from the inside. That’s an entirely different thing.

I’ve been doing this long enough to know when something needs a complete rebuild, and when it just needs a gentle nudge. AI, on the other hand, hasn’t quite learned the difference. It doesn’t know when you’re asking for a simple tweak. It doesn’t know when you value elegance over complexity. It doesn’t know when the fastest solution is also the best one.

But here is the funny thing. I actually like these moments. They prove that AI and humans make a great team as long as you don’t hand the whole wheel over to the machine. I get to laugh a little, tidy up the code, and move on with the day while the AI sits there, very proud of its 20 lines of JavaScript.

And my one line of CSS keeps doing the job perfectly.

If your DIY site is starting to feel like a time trap, or you’re ready to build something smarter from the beginning, I can help.

We’ll start with what you actually need, skip the overwhelm, and build something that grows with your business. Get in touch here.

Next
Next

Stop Adding Things. Start Removing What Doesn’t Help.