

Use Claude Code to Build Your Personal Portfolio Website in 2 Hours
Use Claude Code to Build Your Personal Portfolio Website in 2 Hours
Today, you'll have a professional portfolio website to introduce yourself, showcase your projects and skills, completely free, in just 2 hours of work with Claude Code. The website will be ready to share with recruiters or potential clients. You need: a computer with a web browser, information about yourself (name, email, social media links, project descriptions), and willingness to let Claude Code write HTML/CSS for you.
Preparation
Tools you'll need:
- Claude Code (free at claude.com/claude-code): A browser-based IDE that runs code directly without installation.
- Vercel or Netlify (free): To publish your website to the internet.
Data you should prepare:
- Full name, email, phone number or contact link
- Job title (for example: "Frontend Developer", "Product Designer", "Content Creator")
- 3-5 featured projects (name, short 1-2 line description, GitHub or demo link if available)
- Links to social networks: LinkedIn, GitHub, Instagram, Twitter, or blog
- Profile image (optional, or use a simple emoji/avatar)
Step by Step
Step 1: Open Claude Code and create a new project
Go to claude.com/claude-code. Create a new project called my-portfolio. Claude Code will open a working folder ready for coding.
Step 2: Paste a prompt to Claude to create the project structure
Create a single-page portfolio website using HTML, CSS, and JavaScript.
Requirements:
- Responsive (looks great on mobile, tablet, desktop)
- Dark mode toggle
- Hero section (title, short description, call-to-action button)
- "About Me" section (self-introduction)
- "Projects" section (portfolio items with images, descriptions, links)
- "Skills" section (list main skills)
- "Contact" section (email, social media, simple contact form)
- Footer with social media links
- Simple navigation, smooth scrolling
- Use Google Fonts for nice typography
- Color scheme: blue primary, white/dark gray for dark mode
Create a single index.html file with everything included (HTML + CSS + JS inline or in <style> and <script> tags).
Claude Code will create an index.html file for you. Preview it in the "Preview" tab: you'll see a basic website skeleton ready to go.
Step 3: Fill in your data
Paste a second prompt to Claude to replace the sample data with your information:
Update the index.html file with my information:
- Name: [Your Name]
- Title: [For example: Frontend Developer]
- Short description: [For example: I build beautiful, fast, and user-friendly web interfaces]
- About me: [Write 2-3 sentences about yourself, experience, interests]
- Email: [Your Email]
- Skills: List 6-8 main skills (for example: HTML, CSS, JavaScript, React, Figma, SEO)
- Projects (replace the 3 sample projects):
1. Name: [Project 1 Name], Description: [1-2 lines], Link: [GitHub or demo URL]
2. Name: [Project 2 Name], Description: [1-2 lines], Link: [GitHub or demo URL]
3. Name: [Project 3 Name], Description: [1-2 lines], Link: [GitHub or demo URL]
- Social media: LinkedIn [URL], GitHub [URL], Twitter [URL] (or other networks you use)
Claude will update the file and you'll see the new data in the Preview.
Step 4: Customize the design (optional)
If you want to change colors, fonts, or layout, paste this prompt:
Edit the design:
- Change the primary blue to [your color, for example: purple, pink, orange]
- Title font: [for example: Playfair Display instead of Poppins]
- Add light animations when scrolling to sections (fade in gradually)
- Reduce/increase spacing between sections if it feels cramped/loose
(Describe clearly what you want, Claude will make the edits)
Step 5: Download the file and publish to Vercel/Netlify
Once you're happy with the website:
- Click the "Code" button in Claude Code, select "Export" → choose folder or download the
index.htmlfile. - Go to vercel.com or netlify.com → log in with GitHub (or email).
- Create a new project, select "Import from Git" or "Drag and drop" your
index.htmlfile. - In seconds, your website goes live at a public URL (for example:
my-portfolio-abc123.vercel.app).
Step 6: Set up contact form
Go back to the "Contact" section on your website. If there's a form to send emails, you need to:
- Replace the recipient email (form will send emails to that address).
- Or use a free service like Formspree (formspree.io) or Basin to receive form submissions without a backend.
Ask Claude if you need help:
Integrate the contact form with Formspree. The form should send data to [your email].
Expected Results
After 2 hours, you'll have:
- A single-page portfolio website that works beautifully on all devices
- Personal introduction section with profile image (or avatar)
- Portfolio section listing 3-5 of your best projects with links
- Skills section showing your expertise
- Dark mode/light mode toggle for better user experience
- Contact form so recruiters and clients can reach out
- Public URL ready to share on LinkedIn, resume, or email
Example URL: https://my-portfolio-abc123.vercel.app
Tips for Better Results
- Great project images: If you don't have screenshots, download free images from Unsplash or Pexels that match your projects.
- Keep project descriptions short: Write 1-2 sentences max, not long. Focus on "what users get" not "what technology I used".
- Double-check social media links: Verify URLs carefully. Wrong links mean visitors hit 404 errors.
- Choose readable fonts: Avoid too many fonts or overly decorative ones. 1-2 fonts is enough: one for headings (bold, stylized), one for body text (easy to read).
- Test on mobile: Open your website on your phone before sharing. Claude Code has a mobile preview mode.
- Basic SEO: Update the
<title>and<meta description>tags in the HTML so Google can find you. Example:
<title>Your Name - Portfolio & Projects</title>
<meta name="description" content="Personal portfolio of Your Name, Developer/Designer/...">
Ask Claude to add these.
Important Limitations
- Vercel/Netlify free tiers have limits: If your website gets more than 100 visits per month or exceeds 100 GB transfer, you'll need to upgrade to a paid plan (around $20/month, or free for small personal projects).
- Email forms: Basic contact forms allow 50 free messages per month on Formspree. After that you need to upgrade.
- Custom domain: Your default URL is
*.vercel.appor*.netlify.app. To use your own domain (likeyourname.com), you need to buy a domain (~$10/year) and set up DNS. - SEO takes time: Your portfolio won't rank high on Google immediately. SEO takes months. Share your projects and write blog posts to increase visibility.
- Form security: Basic contact forms aren't encrypted. If you send sensitive information (credit card, SSN), use a more secure service or build your own backend.
Frequently Asked Questions
I don't know how to code. Can Claude Code do everything? Yes. Claude Code writes all the HTML, CSS, JavaScript. You just need to:
- Paste your data (name, email, projects)
- Say what you want to change (colors, layout)
- Claude fixes it for you
Can I upload a profile picture? Yes. After creating your portfolio, upload your image to a free service like Imgur or Cloudinary, copy the URL, then ask Claude to update the image link in the code.
I want to add a blog or detailed project pages? Single-page portfolios are best for starting out. To expand (add blog pages, project detail pages), you can:
- Upgrade to Next.js or another Static Site Generator (more complex)
- Or use no-code platforms like Webflow, Wix (convenient but less flexible)
Claude Code with Next.js is still free. It just requires learning a bit more.
What should I keep private on my portfolio? Avoid:
- Main phone number if you don't want spam calls
- Detailed home address
- Previous salary or specific salary requirements
- Personal or family information
OK to share:
- Work email
- Work phone or contact form
- LinkedIn, GitHub
- Completed projects (that you have permission to share)
My website loads slowly on mobile? Check:
- Images too large → compress with TinyPNG or Squoosh
- Too many animations → reduce effects (ask Claude)
- Too many fonts → use 1-2 fonts max
Claude Code has performance tools, or use Google PageSpeed Insights.
Related posts:
More articles

Why Japan Is Building Its Own AI Instead of Just Using ChatGPT or Gemini

Use AI to Write Trending Captions Without Losing Your Brand Voice

Use Claude to Write a Freelancer Job Post on Upwork and Fiverr in 15 Minutes

AI Builds Software From a Raw Idea: Inside Cole Medin's "AI Software Factory"

What Is PII Redaction in AI? How Chatbots Mask Your Personal Data

Use Claude to Check and Fix Citations in Your Essay or Report in 15 Minutes