Building My Personal Website with 11ty, HTML, CSS, JS, and AI-Powered Tools

The story behind how I built DuncanHann.com

Image from Building My Personal Website with 11ty, HTML, CSS, JS, and AI-Powered Tools

For years, I relied on Squarespace to manage my personal website. It's a fantastic platform with beautifully designed templates and a simple UI, but as I started to explore web development more seriously, I felt increasingly limited by its constraints. I wanted more flexibility and the opportunity to sharpen my coding skills—so I decided to move away from Squarespace and build my site from scratch using 11ty (Eleventy), HTML, CSS, JavaScript, and Cursor Composer, with AI tools like ChatGPT and Claude Sonnet assisting me along the way.

Why I Moved Away from Squarespace and CMS-Based Solutions

Squarespace is great for quickly launching a professional-looking site, but I found myself bumping into the following frustrations:

Why I Avoided WordPress and Other CMS Platforms

As much as CMS platforms like WordPress are powerful, I found them:

Instead, I wanted something lightweight, flexible, and easy to maintain, which led me to 11ty.


Why I Chose 11ty

I considered several static site generators, including Jekyll, Hugo, and Next.js, but 11ty (Eleventy) stood out because:

11ty Makes Content Management Simple

Unlike full CMS platforms, 11ty lets you create your site structure and styling from scratch while making content updates incredibly straightforward.


My Tech Stack

To build the site, I'm using:


Using Cursor Composer for Multi-File Code Changes

More recently, I've been using Cursor Composer to create complex, multi-file changes with detailed prompts, suggested files, screenshots, and references to code snippets or external documentation.

This has been an excellent tool for Product Managers (PMs) like myself to:

Claude Sonnet in Cursor Composer is far superior to GPT-4o-mini in understanding complex coding requests, making it my go-to for refining changes and getting better, structured output.


Vercel V0: A Game-Changer for UI Development

I've also been experimenting with Vercel V0, a fantastic tool for generating React components and building UI quickly. Combined with Cursor Composer, it makes prototyping and iterating on UI components incredibly efficient.


How AI Has Helped Me Learn and Build Faster

Since I'm still learning, having AI as a coding assistant has been invaluable. I've used ChatGPT and Claude Sonnet for:


What's Next?

I'm still iterating on my site, but my next steps include:

As I continue refining my skills, accessibility is an area I want to expand my knowledge of, ensuring that my site is usable for as many people as possible.


Useful Resources

📌 11ty (Eleventy) Official Site
📌 Cursor Composer
📌 Vercel V0
📌 ChatGPT & Claude Sonnet
📌 GitHub Docs

🚀