Why Copying Code Straight from AI Won’t Give You a Good Website

Every week I hear from someone who has asked ChatGPT to “build me a website”. Sometimes it’s a client wondering whether they still need a web designer. Sometimes it’s a business owner who pasted AI code into their site and now can’t work out why everything has stopped working.

I completely understand the appeal. AI is quick, it’s cheap and it sounds very sure of itself. I use AI tools in my own work every day. But there is a big difference between using AI as a tool and handing it the keys to your business website.

55%

faster coding with AI tools

52%

of AI coding answers contain errors

40%

of AI code has a serious security flaw

63%

of people give up on a brand after a bad mobile site

Fast isn’t the same as right

There’s no doubt AI speeds things up. Research from GitHub found that developers using AI get through their tasks around 55% faster. That sounds brilliant until you look at what happens next. There has also been a 41% rise in code that gets deleted soon after it’s written. In plain English, a lot of what AI produces doesn’t survive contact with a real website.

Accuracy is the bigger worry. A study by Purdue University found mistakes in more than half of AI answers to programming questions. That’s roughly a coin toss. The tricky part is that AI never tells you when it’s guessing. A broken answer arrives with exactly the same confidence as a correct one.

The security risk nobody mentions

This is the part that worries me most. Figures from Snyk suggest four in ten pieces of AI-generated code contain at least one serious security weakness. If that code goes straight onto a live site with nobody checking it, you could be leaving a door open for hackers.

I’ve spent a good part of this year rebuilding websites after they were hacked. Cleaning up afterwards always costs far more than doing things properly in the first place.

It also costs you lost enquiries, lost trust and a lot of sleepless nights.

Using AI to build a website and why people still matter in web design

AI doesn’t know your business

A website isn’t just code. It’s your shop window. Getting it right means understanding who your customers are, what they’re worried about and what will make them pick up the phone.

AI can’t sit down with you and work out that most of your clients are older and need larger text. It doesn’t know that your logo needs breathing space or that your brand has rules that were never written down. When a client tells me they want their site to feel “warmer” or more “premium”, I ask questions until I understand what they really mean. Give the same instruction to AI and it will usually just add more shadows, colours and moving parts.

It looks fine on a laptop. Then you open it on a phone.

Most of your visitors will find you on their phone. Around 63% of people will walk away from a brand after a poor experience on mobile. AI-generated layouts often look fine in a preview window but fall apart on a real handset. Buttons end up too small to tap. Text overlaps images. Menus disappear.

I test every site I build on actual phones and tablets. AI can write an animation in seconds. What it can’t do is pick up a phone and tell you whether that animation feels smooth or makes your visitors feel slightly seasick.

The hidden costs of DIY AI code

Pasting AI code into WordPress can also cause problems you won’t see straight away. AI often reaches for outdated methods that clash with your theme or page builder. It can suggest plugins or code libraries that haven’t been updated in years. It rarely thinks about how the site will be maintained in six months’ time. When something then breaks, nobody really understands how it was put together. Fixing it usually means starting again.

So where do people fit in?

Here’s an encouraging statistic. Around three quarters of developers now use AI tools. Even so, the U.S. Bureau of Labor Statistics expects jobs for web developers to grow by 16% over the next ten years. The industry isn’t replacing people. It’s changing what people spend their time on.

That’s exactly how I work. AI helps me with repetitive tasks so I can spend more time on what matters to you: strategy, design, testing, security and making sure your site actually brings in business. Nothing AI produces goes near your website until I’ve checked it, tested it and adapted it to fit your brand.

Websites also need looking after once they’re live. That’s why I now offer a monthly maintenance plan. I log in every month to update everything. Your site is also covered by a dedicated security subscription.

Thinking about a new website?

If you’ve tried building your site with AI and it’s not quite working, or you’d simply like a website you can trust, get in touch. I’d be happy to have a chat about what you need.

Get in touch

Statistics referenced in this article are drawn from Elementor’s 2026 report on AI and web development, which cites research from GitHub, Purdue University, Snyk and the U.S. Bureau of Labor Statistics.