Below is a compact yet fully-functional starter kit that recreates the look-and-feel of the Figma community file you linked.
Just copy each snippet into its own file, keep them in the same folder, add your images, and you’re live!
1️⃣ index.html
2️⃣ styles.css
3️⃣ script.js
Feel free to extend / tweak colours, fonts, or layout to match your exact brand.
1. index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Jane Doe – Product / UI-UX Designer</title>
<!-- Google Font -->
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<!-- ============ Header ============ -->
<header>
<div class="container header-wrapper">
<a href="#" class="logo">JD</a>
<!-- Desktop Nav -->
<nav id="nav-menu">
<ul>
<li><a href="#about">About</a></li>
<li><a href="#projects">Projects</a></li>
<li><a href="#contact">Contact</a></li>
<li class="toggle-wrap">
<label class="switch">
<input type="checkbox" id="dark-mode-toggle" aria-label="Dark mode toggle" />
<span class="slider"></span>
</label>
</li>
</ul>
</nav>
<!-- Hamburger (Mobile) -->
<button id="menu-toggle" aria-label="Open navigation" class="hamburger">
<span class="bar"></span><span class="bar"></span><span class="bar"></span>
</button>
</div>
</header>
<!-- ============ Hero ============ -->
<section class="hero animate-on-scroll">
<div class="container hero-content">
<div class="hero-text">
<h1>👋 Hi, I’m Jane Doe.<br/>I craft delightful digital experiences.</h1>
<p>Product, UI/UX & interaction designer focused on turning complex problems into simple, elegant solutions.</p>
<a href="#projects" class="btn">See my work</a>
</div>
<div class="hero-img">
<img src="assets/hero.webp" alt="Mockup of mobile and desktop screens" />
</div>
</div>
</section>
<!-- ============ About ============ -->
<section id="about" class="about animate-on-scroll">
<div class="container about-wrapper">
<img src="assets/profile.jpg" alt="Jane Doe portrait" class="about-avatar"/>
<div class="about-text">
<h2>About me</h2>
<p>I’m a product designer with 4+ years in fintech & health-tech.
I value clean layouts, data-driven decisions and inclusive design.</p>
<div class="skills">
<h3>Core skills</h3>
<ul>
<li>🖌️ Visual design</li>
<li>🔍 User research</li>
<li>🧪 Usability testing</li>
<li>⚡ Prototyping & motion</li>
</ul>
</div>
</div>
</div>
</section>
<!-- ============ Projects ============ -->
<section id="projects" class="projects">
<div class="container">
<h2 class="section-title">Selected projects</h2>
<div class="project-grid">
<!-- Project 1 -->
<article class="project-card animate-on-scroll delay-1">
<img src="assets/project-1.webp" alt="Banking app mockup">
<div class="project-content">
<h3>NovaBank Mobile</h3>
<p>Complete redesign that increased onboarding conversion by 32%.</p>
<a href="#" class="link">Case study →</a>
</div>
</article>
<!-- Project 2 -->
<article class="project-card animate-on-scroll delay-2">
<img src="assets/project-2.webp" alt="Healthcare dashboard mockup">
<div class="project-content">
<h3>Vitals Dashboard</h3>
<p>Real-time health metrics platform for clinicians.</p>
<a href="#" class="link">Case study →</a>
</div>
</article>
<!-- Project 3 -->
<article class="project-card animate-on-scroll delay-3">
<img src="assets/project-3.webp" alt="E-commerce website mockup">
<div class="project-content">
<h3>ShopEase Checkout</h3>
<p>Simplifying checkout flow & reducing cart abandonment.</p>
<a href="#" class="link">Case study →</a>
</div>
</article>
</div>
</div>
</section>
<!-- ============ Contact ============ -->
<section id="contact" class="contact animate-on-scroll">
<div class="container">
<h2>Let’s collaborate</h2>
<p>Got an interesting project or role? Drop me a message and let’s chat.</p>
<form id="contact-form" novalidate>
<div class="double">
<input type="text" id="name" placeholder="Your name*" required />
<input type="email" id="email" placeholder="Email address*" required />
</div>
<textarea id="message" rows="6" placeholder="Tell me about your project*" required></textarea>
<button type="submit" class="btn">Send message</button>
</form>
</div>
</section>
<!-- ============ Footer ============ -->
<footer>
<div class="container footer-wrapper">
<p>© 2024 Jane Doe</p>
<div class="socials">
<a href="https://www.linkedin.com" target="_blank" rel="noopener" aria-label="LinkedIn">in</a>
<a href="https://github.com" target="_blank" rel="noopener" aria-label="GitHub">gh</a>
<a href="mailto:hello@example.com" aria-label="Email">✉</a>
</div>
</div>
</footer>
<script src="script.js"></script>
</body>
</html>
2. styles.css
/* ---------- RESET ---------- */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
img{max-width:100%;display:block}
ul{list-style:none}
/* ---------- VARIABLES ---------- */
:root{
--bg:#ffffff;
--text:#303030;
--subtext:#555;
--primary:#5c6ef8;
--card:#f3f4ff;
--radius:12px;
--transition:.3s ease;
}
body.dark-mode{
--bg:#121212;
--text:#e4e4e4;
--subtext:#aaa;
--primary:#7c8cff;
--card:#1d1d1d;
}
body{
font-family:'Inter',sans-serif;
background:var(--bg);
color:var(--text);
line-height:1.6;
min-height:100vh;
}
.container{width:90%;max-width:1180px;margin:auto}
/* ---------- HEADER ---------- */
header{
background:var(--bg);
position:sticky;top:0;z-index:101;
border-bottom:1px solid rgba(0,0,0,.06);
}
.header-wrapper{
display:flex;align-items:center;justify-content:space-between;
height:64px;
}
.logo{font-weight:700;font-size:1.4rem;color:var(--primary);text-decoration:none}
/* Nav */
nav ul{display:flex;gap:2rem;align-items:center}
nav a{color:var(--text);text-decoration:none;font-weight:500;transition:color var(--transition)}
nav a:hover{color:var(--primary)}
/* Hamburger */
.hamburger{display:none;flex-direction:column;gap:6px;background:none;border:0;cursor:pointer}
.bar{width:26px;height:3px;background:var(--text);border-radius:3px;transition:var(--transition)}
.hamburger.active .bar:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.active .bar:nth-child(2){opacity:0}
.hamburger.active .bar:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
/* Dark-mode switch */
.switch{position:relative;display:inline-block;width:42px;height:22px}
.switch input{opacity:0;width:0;height:0}
.slider{
position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;
background:#aaa;border-radius:34px;transition:var(--transition)
}
.slider::before{
content:'';position:absolute;height:16px;width:16px;left:3px;bottom:3px;
background:#fff;border-radius:50%;transition:var(--transition)
}
.switch input:checked + .slider{background:var(--primary)}
.switch input:checked + .slider::before{transform:translateX(20px)}
/* ---------- HERO ---------- */
.hero{padding:5.5rem 0 4rem}
.hero-content{display:flex;align-items:center;gap:4rem;flex-wrap:wrap}
.hero-text{flex:1 1 380px}
.hero h1{font-size:clamp(2rem,4vw,3rem);line-height:1.2;margin-bottom:1rem}
.hero p{color:var(--subtext);max-width:520px;margin-bottom:2rem}
.btn{
display:inline-block;background:var(--primary);color:#fff;
padding:.9rem 1.8rem;font-weight:600;border:none;border-radius:var(--radius);
text-decoration:none;transition:transform .2s ease;
}
.btn:hover{transform:translateY(-2px)}
.hero-img{flex:1 1 320px}
/* ---------- ABOUT ---------- */
.about{padding:4rem 0}
.about-wrapper{display:flex;gap:3rem;align-items:center;flex-wrap:wrap}
.about-avatar{width:220px;height:220px;object-fit:cover;border-radius:var(--radius)}
.about-text{flex:1 1 360px}
.about h2{font-size:2rem;margin-bottom:1rem}
.skills h3{margin:1.5rem 0 .5rem}
.skills ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.4rem}
.skills li{background:var(--card);padding:.6rem .9rem;border-radius:8px}
/* ---------- PROJECTS ---------- */
.projects{padding:4rem 0;background:var(--card)}
.section-title{font-size:2rem;text-align:center;margin-bottom:2.5rem}
.project-grid{
display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:2rem;
}
.project-card{
border-radius:var(--radius);background:var(--bg);
overflow:hidden;box-shadow:0 6px 18px rgba(0,0,0,.05);
display:flex;flex-direction:column;transition:transform var(--transition);
}
.project-card:hover{transform:translateY(-6px)}
.project-content{padding:1.3rem;display:flex;flex-direction:column;gap:.7rem}
.project-card h3{font-size:1.3rem}
.link{color:var(--primary);font-weight:500;text-decoration:none;padding-top:.3rem}
/* ---------- CONTACT ---------- */
.contact{padding:4rem 0}
.contact h2{text-align:center;font-size:2rem;margin-bottom:.3rem}
.contact p{text-align:center;color:var(--subtext);margin-bottom:2rem}
form{max-width:680px;margin:auto;display:flex;flex-direction:column;gap:1rem}
.double{display:flex;gap:1rem}
.double input{flex:1}
input,textarea{
padding:1rem;border:1px solid rgba(0,0,0,.1);
border-radius:var(--radius);font-family:inherit;background:var(--card);
color:var(--text);resize:none
}
input:focus,textarea:focus{outline:2px solid var(--primary)}
/* Re-use .btn styles for submit */
button.btn{align-self:flex-start}
/* ---------- FOOTER ---------- */
footer{padding:2rem 0;background:var(--bg);border-top:1px solid rgba(0,0,0,.06)}
.footer-wrapper{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}
.socials{display:flex;gap:1rem}
.socials a{text-decoration:none;color:var(--text);font-weight:600;transition:color var(--transition)}
.socials a:hover{color:var(--primary)}
/* ---------- ANIMATIONS ---------- */
.animate-on-scroll{opacity:0;transform:translateY(20px);transition:opacity .8s ease,transform .8s ease}
.animate-on-scroll.visible{opacity:1;transform:translateY(0)}
/* Stagger delays. (JS just adds visible; delays come from CSS classes) */
.delay-1{transition-delay:.1s}.delay-2{transition-delay:.2s}.delay-3{transition-delay:.3s}
/* ---------- RESPONSIVE ---------- */
@media(max-width:860px){
nav ul{position:fixed;top:0;right:-100%;height:100vh;width:300px;
flex-direction:column;gap:2rem;padding-top:6rem;background:var(--bg);
transition: right var(--transition);box-shadow:-6px 0 18px rgba(0,0,0,.08)}
nav ul.active{right:0}
.hamburger{display:flex}
}
3. script.js
document.addEventListener('DOMContentLoaded', () => {
/* ========= HAMBURGER ========= */
const menuToggle = document.getElementById('menu-toggle');
const navMenu = document.getElementById('nav-menu').querySelector('ul');
const body = document.body;
menuToggle.addEventListener('click', () => {
menuToggle.classList.toggle('active');
navMenu.classList.toggle('active');
body.classList.toggle('no-scroll');
});
navMenu.querySelectorAll('a').forEach(link => {
link.addEventListener('click', () => {
navMenu.classList.remove('active');
menuToggle.classList.remove('active');
body.classList.remove('no-scroll');
});
});
/* ========= SMOOTH SCROLL (native via CSS, but prevent iOS bug) ========= */
document.querySelectorAll('a[href^="#"]').forEach(a => {
a.addEventListener('click', e => {
const target = document.querySelector(a.getAttribute('href'));
if (target) {
e.preventDefault();
target.scrollIntoView({behavior:'smooth'});
}
});
});
/* ========= DARK MODE ========= */
const toggle = document.getElementById('dark-mode-toggle');
const saved = localStorage.getItem('theme');
const prefers = window.matchMedia('(prefers-color-scheme: dark)');
const setTheme = dark => {
body.classList.toggle('dark-mode', dark);
localStorage.setItem('theme', dark ? 'dark' : 'light');
if (toggle) toggle.checked = dark;
};
// initial
saved ? setTheme(saved === 'dark') : setTheme(prefers.matches);
toggle.addEventListener('change', () => setTheme(toggle.checked));
prefers.addEventListener('change', e => {
if (!localStorage.getItem('theme')) setTheme(e.matches);
});
/* ========= CONTACT VALIDATION ========= */
const form = document.getElementById('contact-form');
form.addEventListener('submit', e => {
e.preventDefault();
const name = form.querySelector('#name').value.trim();
const email = form.querySelector('#email').value.trim();
const msg = form.querySelector('#message').value.trim();
if (!name || !email.includes('@') || !msg) {
alert('Please fill out all fields correctly 🙂');
return;
}
// Simulate success (replace w/ real service or Formspree)
alert('Thanks! Your message has been sent.');
form.reset();
});
/* ========= SCROLL-REVEAL ========= */
const observer = new IntersectionObserver((entries,obs)=>{
entries.forEach(entry=>{
if(entry.isIntersecting){
entry.target.classList.add('visible');
obs.unobserve(entry.target);
}
});
},{threshold:.2});
document.querySelectorAll('.animate-on-scroll').forEach(el=>observer.observe(el));
});
🚀 That’s it!
• Drop your images into an assets folder.
• Open index.html in a browser (or deploy with GitHub Pages / Netlify).
• Customise colours, fonts or content as you wish—everything is modular and commented.
Happy designing & shipping!