Skip to content

Developer Portfolio Page

One-page Tailwind CSS developer portfolio with sticky mobile menu, hero stats, filterable project grid, experience timeline and a validated contact form.

Also known as: developer portfolio website, one page portfolio, freelancer portfolio site, personal portfolio layout

Developer Portfolio Page live demo

Open in new tab

Tailwind CSS code (HTML, CSS, JS)

A one-page developer portfolio template built with Tailwind CSS and a little vanilla JavaScript. It has a sticky header with a mobile menu, a bold hero with an availability badge and stats, a filterable project grid, an about section with a skills list and experience timeline, and a dark contact section with a validated form.

How it works

Everything sits inside the root .tpf-page. The header holds the data-tpf-menu-toggle button and the #tpf-menu navigation (data-tpf-menu). Below md the menu is hidden with the hidden class and the script toggles it, updates aria-expanded and closes it on Escape or after a link is clicked; from md up md:block shows the links inline.

The work section (data-tpf-projects) contains filter buttons marked data-tpf-filter and a grid of list items marked data-tpf-category. Clicking a button sets aria-pressed on the active chip, hides non-matching items with the hidden attribute and writes a message such as "Showing 2 projects" into the visually hidden data-tpf-count live region.

The contact form (data-tpf-form) validates name, email and message on blur and submit, sets aria-invalid and reveals the matching data-tpf-error text. A valid submit disables data-tpf-submit, waits 1.2 seconds and shows a success message in data-tpf-status. Replace the setTimeout in initForm with a fetch() call to your form endpoint.

Customization

  • bg-[#f6f1e7] on .tpf-page and the header: change the cream page color, for example to bg-white or bg-slate-50.
  • orange-600 / orange-500 utilities (buttons, eyebrows, links) and the rgb(251 146 60 / 0.35) stop in .tpf-underline: swap them for another accent such as blue or emerald.
  • data-tpf-category on each project item and data-tpf-filter on the chips: add a value like data-tpf-filter="design" and tag projects with it to create a new filter.
  • from-orange-500 to-rose-500 on a thumbnail div: change the gradient, or replace the div with an <img> screenshot.

Use cases

  • Freelance developers: a one-page site with a hero, availability badge and stats presents skills and services
  • Frontend engineers: a filterable project grid lets visitors sort work by category
  • Job seekers: an about section with a skills list and experience timeline tells the career story
  • Client inquiries: a validated contact form at the bottom turns visitors into messages

Accessibility

A skip link jumps to #tpf-main. The menu button has a changing screen reader label plus aria-expanded and aria-controls. Filter chips are real buttons in a labelled role="group" and expose their state with aria-pressed, while the result count is announced politely. Every "Read case study" link has hidden text naming its project. Form fields have labels, aria-describedby error text and aria-invalid; focus moves to the first invalid field. All controls show visible focus rings, and the ping, fade-in and smooth scrolling are disabled under prefers-reduced-motion: reduce.

Usage notes

This is a full-page template, so it includes one rule on html for smooth scrolling. Keep the id values unique if you combine it with other sections. The footer credit links to WebDevSnippets; you can keep it or remove it.

Developer Portfolio Page at a glance

Framework
Tailwind CSS
Code
HTML, CSS, JavaScript
JavaScript
Vanilla JavaScript, no jQuery
Dependencies
Tailwind CSS
Layout
Responsive, works on mobile
Category
Portfolios
License
Free for personal and commercial use

Questions about this template

Can I use the Developer Portfolio Page code for free?

Yes. You can copy or download the code and use it in personal and commercial projects, including client work. No sign-up is needed. Reselling it as part of a component library or template collection is not allowed; see the license.

How do I add it to my website?

Load Tailwind CSS from a CDN (the links are under Requirements). Paste the HTML where the component should appear, add the CSS to your stylesheet and load the JavaScript before the closing </body> tag. Download HTML gives you a complete page with everything already linked.

Does it need jQuery or a JavaScript framework?

No. The script is plain vanilla JavaScript, so it works without jQuery, React or Vue. You can still use the markup inside those frameworks.

Does it work on mobile?

Yes. The layout adapts to small screens. Use the Mobile and Tablet buttons above the live demo to check it at phone and tablet width.

Requirements

Add these to your page (already included in the download):

  • <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>

The Tailwind browser build is for prototyping. In production, compile Tailwind with its CLI or your bundler.

Developer Portfolio Page – free Tailwind CSS portfolio template
Developer Portfolio Page · free Tailwind CSS portfolio template

More Portfolios

Photographer Portfolio with Photo Grid – free Bootstrap 5 portfolio template

Photographer Portfolio with Photo Grid

Dark Bootstrap 5 photographer portfolio with subject filters, a full-bleed dense photo grid with wide and tall tiles, hover captions and a modal lightbox.

Agency Case Study Grid with Images – free Tailwind CSS portfolio template

Agency Case Study Grid with Images

Dark Tailwind CSS portfolio grid of agency case studies with project photos, client, year, key results and service filter buttons.