Bangun Situs dari Nol dengan Cursor
Ingin punya situs sendiri tapi tidak paham kode? Editor AI seperti Cursor memungkinkan Anda membangun halaman lewat percakapan — dan memperbaiki bug tanpa minta tolong pengembang.
Mengapa Cursor
Pembangunan situs klasik butuh HTML/CSS/deploy. Cursor menyematkan AI di dalam editor: Anda deskripsikan, ia menulis, dan menjelaskan sambil jalan.
Penyiapan
- Unduh Cursor dari situs resmi dan masuk
- Model Claude atau ChatGPT bawaan sudah cukup
- Masukkan berkas proyek Anda
Langkah 1: buat lewat obrolan
Di kolom obrolan, ketik: 'Situs resume pribadi satu halaman, tema terang, bagian foto dan kontak, HTML mandiri.' Ia menghasilkan berkas.
Tips: tambahkan satu fitur sekaligus, pratinjau di browser, lalu minta yang berikutnya.
Debug & iterasi
- Tempel pesan error merah ke dalamnya
- Agar bisa Anda ubah sendiri nanti
- Simpan salinan git agar bisa dibandingkan saat rusak
Terbitkan
Setelah jalan lokal, dorong ke hosting statis gratis seperti Cloudflare Pages atau GitHub Pages lalu hubungkan domain Anda.
Untuk siapa
CV, portofolio, dan halaman pendaratan kecil cocok sekali; backend yang kompleks tetap butuh profesional.
Prompt yang benar-benar berhasil
Build a one-page personal portfolio site with these requirements:
- Light modern style with a blue-to-purple gradient
- Top navigation (home / about / contact)
- Avatar block, short bio and contact details
- Responsive, and it must look good on phones
- A single self-contained HTML file with inline CSS
Kalimat terakhir itu penting: minta satu berkas HTML mandiri agar bisa langsung dibuka.
Cara beriterasi dengan baik
- Satu fitur sekaligus:Do not ask for ten features at once — you cannot isolate what broke.
- Pratinjau setiap langkah:Open it in the browser as soon as it is generated, then ask for the next thing.
- Tempel error-nya:Paste the red error message verbatim — far more effective than saying "it broke".
- Minta penjelasan:Have the AI comment the key code so you can edit it yourself later.
Deploy gratis
Setelah jalan lokal, dorong ke hosting statis gratis dan arahkan domain Anda ke sana.
- Cloudflare Pages:Drag and drop and you are done, with automatic HTTPS (this is what this site uses)
- GitHub Pages:Suits projects already managed with Git
- Netlify / Vercel:Generous free tier, similar flow
Lihat panduan hosting tanpa biaya kami untuk langkah lengkap pemasangan domain.
Jebakan pemula
- Meminta terlalu banyak sekaligus:Build the skeleton first, then fill in the content.
- Tanpa cadangan:Copy the file before changing it, or keep a git version.
- Tidak menguji tampilan mobile:Always check on a phone — plenty of AI-generated layouts break on small screens.
- CDN tanpa dokumentasi:Check the page does not depend on temporary external links, or they will break later.
Real case: a non-coder ships a site
Seorang non-pengembang membuat portofolio satu halaman dengan Cursor: beranda + foto + bio + kontak, responsif. Sekitar 40 menit dari berkas kosong sampai jalan lokal, lalu dideploy dan domain dipasang — total sekitar 1 jam.
- Yang berhasil: ask for a single self-contained HTML file to avoid dependency mess, and preview after each feature.
- Pemeliharaan berkelanjutan: have the AI comment the tricky parts so you can make small edits yourself later.