A personal portfolio built from scratch with plain HTML, CSS, and JavaScript. No framework, no build step, no dependencies to install. Projects and certificates are rendered from small data files, and the contact form sends real email through EmailJS.
Live site: jasseramir.github.io
- Zero build step. Open
index.htmland it works. Deploys as-is on GitHub Pages. - Data-driven content. Project cards, certificate cards, and the hero counters are generated from
projects.jsandcertificates.js. Adding an entry needs no HTML changes. - Flat, token-based design system. Pastel palette, no shadows, one typeface. See DESIGN.md.
- Fully responsive. Mobile-first layout with a slide-down drawer menu below 768px (tap anywhere or swipe up to close).
- Accessible by default. Semantic landmarks, labelled navigation,
aria-expandedon the menu button,aria-liveform status, visible focus rings, andprefers-reduced-motionsupport. - Custom cursor. On desktop, a paper-plane cursor that fades to lavender over links and buttons, shows a spinner badge over the send button while it sends, and turns into an I-beam over text fields. Touch screens keep the native cursor.
- Scroll reveal animations. Every block rises from the bottom over 1.5s as it scrolls into view, with cards, tiles, and certificates staggered 200ms apart. Powered by ScrollReveal and disabled under
prefers-reduced-motion. - Skills easter egg. Press and hold each skill chip to fill it. Fill all nine and the card turns into a "build passed" terminal, with a restart button to reset it.
- Scroll-spy navigation. The active link follows the section in view using
IntersectionObserver. - Contact form with spam protection. EmailJS delivery plus a hidden honeypot field.
- XSS-safe rendering. All data-driven strings are HTML-escaped before being injected.
- SEO ready. Meta tags, Open Graph, Twitter Card, JSON-LD
Personschema, canonical URL, and a full favicon set.
| Section | What it shows |
|---|---|
| Home | Headline, availability, a flat browser-window illustration, live counters (projects, certificates), resume and project shortcuts |
| About | Short bio, approach tags, and the core skills list |
| Services | A swipeable carousel (cards fade at the edges on desktop) of six services: Web Design, Development, Responsive Design, Performance Optimization, Accessibility & SEO, Maintenance & Fixes |
| Projects | Cards with live demo and repository links |
| Certificates | Verified credentials with issuer, date, and a link to each certificate |
| Contact | EmailJS form, LinkedIn, and GitHub |
| Technology | Purpose |
|---|---|
| HTML5 | Semantic structure |
| CSS3 | Custom properties, Grid, Flexbox, media queries |
| JavaScript (ES6+) | Rendering from data, menu, scroll-spy, scroll reveal, form handling |
| ScrollReveal v4 | Scroll-in animations, bundled locally in assets/scripts/libs/scrollreveal.min.js |
| Swiper v11 | Services carousel, a trimmed custom build (Core, Navigation, Keyboard, A11y; about 79 KB instead of 151 KB) in assets/scripts/libs/swiper.min.js, with its trimmed styles in assets/styles/libs/swiper.min.css |
| EmailJS | Client-side email sending, self-hosted as a trimmed build (sendForm only) in assets/scripts/libs/email.min.js |
| Plus Jakarta Sans | Main typeface (weights 400 to 800), self-hosted as WOFF2 in assets/styles/fonts/plus_jakarta_sans/ |
| Rubik | Typeface for the form fields (weight 400, covers Arabic), self-hosted as WOFF2 in assets/styles/fonts/rubik/ |
Icons are inline SVGs styled by a single rule in the stylesheet, so there is no icon library to load.
.
├── index.html
├── favicon.ico
├── README.md
├── DESIGN.md
├── .prettierrc
└── assets/
├── styles/
│ ├── main/
│ │ └── styles.css # Tokens, layout, components, responsive rules
│ ├── fonts/
│ │ ├── plus_jakarta_sans/ # plus-jakarta-sans.css + fonts/ (WOFF2 400 to 800, OFL license)
│ │ └── rubik/ # rubik.css + fonts/ (WOFF2 400, OFL license)
│ └── libs/
│ └── swiper.min.css # Swiper styles, trimmed to the rules the carousel uses
├── scripts/
│ ├── data/
│ │ ├── projects.js # Project cards data
│ │ └── certificates.js # Certificate cards data
│ ├── main/
│ │ └── main.js # Menu, scroll-spy, cursor, rendering, reveal animations, skills easter egg, contact form
│ └── libs/
│ ├── email.min.js # EmailJS (trimmed to sendForm)
│ ├── scrollreveal.min.js # ScrollReveal library (trimmed)
│ └── swiper.min.js # Swiper 11 trimmed build (Core, Navigation, Keyboard, A11y)
├── img/
│ ├── logos/ # Favicons, Apple touch icon, Android icons, site.webmanifest, social preview
│ └── screenshots/ # README screenshot
└── docs/
└── jasser_amir_resume.pdf
Script order matters. index.html loads email.min.js, then projects.js, then certificates.js, then scrollreveal.min.js, then swiper.min.js, then main.js, because main.js reads the projects and certificates globals and the ScrollReveal, Swiper and emailjs globals.
git clone https://github.com/jasseramir/jasseramir.github.io.git
cd jasseramir.github.ioOpen index.html directly, or serve it locally:
python -m http.server 3000
# then visit http://localhost:3000The VS Code Live Server extension also works.
Edit assets/scripts/data/projects.js and add an object to the projects array:
{
projectLink: 'https://example.com/', // live demo URL, or null if there is none
projectType: 'Website', // short label shown as a pill
projectTitle: 'Project Name',
projectDescription: 'One or two sentences about the project.',
projectGithubSrc: 'https://github.com/username/repo',
}- With a
projectLink, the card shows Live Demo and View Repository buttons. - With
projectLink: null, the card shows a single View Repository button. - Card colors rotate automatically (white, sky, lavender), and the Projects Built counter updates on its own.
Edit assets/scripts/data/certificates.js and add an object to the certificates array:
{
organization: 'Issuer name',
certificateTitle: 'Certificate Title',
dateDay: '1',
dateMonth: 'Jan', // month as a short word, not a number
dateYear: '2026',
certificateLink: 'https://link-to-certificate.com',
}The Certificates Earned counter and the "issued by" line in the section header are derived from this array.
The form uses EmailJS and needs no backend.
- Create an EmailJS service and an email template.
- In the template, use these variables, which match the form field names:
user_name,user_email,user_subject,user_message. - Put your service ID, template ID, and public key in the
emailjs.sendForm(...)call inassets/scripts/main/main.js.
An EmailJS public key is designed to be exposed in client-side code. To limit abuse, restrict the allowed domains and set a rate limit in the EmailJS dashboard.
swiper.min.js only contains the Swiper features the carousel uses. If you add one (pagination, autoplay, an effect), rebuild it with the extra module. Create entry.js:
import Swiper from 'swiper';
import { Navigation, Keyboard, A11y } from 'swiper/modules'; // add modules here
Swiper.use([Navigation, Keyboard, A11y]);
window.Swiper = Swiper;Then bundle it, and put Swiper's matching module CSS (for example swiper/modules/pagination.min.css) in assets/styles/libs/swiper.min.css:
npm i [email protected] esbuild
npx esbuild entry.js --bundle --minify --format=iife --target=es2018 --legal-comments=none --outfile=assets/scripts/libs/swiper.min.jsKeep Swiper's MIT notice and the "trimmed build" comment at the top of the output file (--legal-comments=none strips them, so add them back). swiper.min.css carries the same two comments; keep them there too.
Formatting is handled by Prettier with the settings in .prettierrc (semicolons, single quotes, 2-space indent).
In styles.css, each main section starts with a /* === NAME === */ comment placed directly above its first rule, with no blank line between them.
This project is not licensed for reuse or redistribution.
- LinkedIn: linkedin.com/in/jasser-amir-37428a3b1
- GitHub: github.com/jasseramir
- Email: through the contact form on the live site
