Guides › 用 Cursor 零基础搭个人网站

用 Cursor 零基础搭个人网站

Updated: Oct 2026内容创作

Want your own site but can't read code? AI editors like Cursor let you build pages by chat — and fix bugs without begging a dev.

Why Cursor

Classic site-building needs HTML/CSS/deploy. Cursor embeds AI in the editor: describe, it writes, and explains as it goes.

Setup

Step 1: generate by chat

In chat, type: 'A single-page personal resume site, light theme, avatar and contact section, self-contained HTML.' It generates files.

Tip: add one feature at a time, preview in browser, then request the next.

Debug & iterate

Ship it

Once local works, push to free static hosts like Cloudflare Pages or GitHub Pages and bind your domain.

Who it's for

Resumes, portfolios and small landing pages fit well; complex backends still need pros.

A prompt that actually works

做一个单页个人作品集网站,要求:
- 浅色现代风格,主色蓝紫渐变
- 顶部导航(首页/关于/联系)
- 头像区 + 自我介绍 + 联系方式
- 响应式,手机端也要好看
- 自包含单个 HTML,内联 CSS

The last line matters: ask for a single self-contained HTML file so you can just open it.

How to iterate well

Free deployment

Once it runs locally, push to a free static host and point your domain at it.

See our zero-cost hosting guide for the full domain-binding walkthrough.

Beginner pitfalls

cursor-loop.svg
Diagram · cursor-loop.svg

Real case: a non-coder ships a site

A non-coder built a one-page portfolio with Cursor: home + avatar + bio + contact, responsive. ~40 minutes from empty file to running locally, then deployed and bound a domain — about 1 hour total.

Advertisement
Ad slot

Alat terkait