A modern, responsive portfolio website showcasing web development projects and skills with stunning animations, glassmorphism design, and full accessibility support.
Experience the portfolio in action with all its features:
- ๐จ 4 stunning themes
- โจ๏ธ Full keyboard navigation
- ๐ฑ Responsive design
- โจ Smooth animations
- ๐ง Working contact form
- Live Demo
- Features
- Technologies Used
- Project Structure
- Getting Started
- Customization Guide
- Performance
- Accessibility
- Browser Support
- Contributing
- License
- Author
- Glassmorphism Design - Modern frosted glass effects with backdrop blur
- Gradient Accents - Beautiful color gradients throughout the interface
- Animated Backgrounds - SVG mesh animations, gradient orbs, and blur blobs
- Smooth Parallax - Multi-layer parallax scrolling effects
- 4 Theme Options - Cyber Blue, Purple Aurora, Frost White, Sunset Red
- Responsive Layout - Fully responsive across all devices
- Scroll-Based Parallax - Sections, backgrounds, and text move at different speeds
- Hero Fade Effect - Content fades as you scroll down
- Intro Animations - Staggered section reveals on page load
- Smooth Transitions - 0.4s theme transitions with fade overlay
- Confetti Effect - Celebration animation on form submission
- Hover Effects - Interactive cards with lift and glow effects
- Project Modals - Detailed project information with tech stack and features
- Contact Form - Real-time validation with success/error animations
- Theme Switcher - Live theme preview with smooth transitions
- Skill Cards - Interactive cards with progress bars and 3D tilt effect
- Navigation - Smooth scroll with progress indicator
- Keyboard Navigation - Full keyboard support with visual indicators
- Focus Management - Proper focus trap in modals
- Screen Reader Support - ARIA labels and semantic HTML
- Skip to Content - Quick navigation for screen readers
- Keyboard Shortcuts:
Tab/Shift+Tab- Navigate elementsEnter/Space- Activate elementsEscape- Close modalsโ/โ- Navigate between projects in modalโ/โ- Navigate theme options
- Real-Time Validation - Email format, minimum character requirements
- Character Counter - Visual feedback for message length
- Formspree Integration - Reliable form submission
- Success/Error States - Animated feedback messages
- Spam Prevention - Honeypot field included
- 4 Beautiful Themes:
- ๐ Cyber Blue (Default) - Dark with blue/purple gradients
- ๐ Purple Aurora - Vibrant purple and pink
- โ๏ธ Frost White - Clean light theme
- ๐ Sunset Red - Warm orange and red tones
- Smooth Transitions - 0.4s fade between themes
- LocalStorage - Theme preference saved
- Live Preview - See colors before selecting
- HTML5 - Semantic markup
- CSS3 - Custom properties, Grid, Flexbox, Animations
- Vanilla JavaScript - No frameworks, pure JS
- Formspree - Form submission handling
- Google Fonts - Space Grotesk font family
portfolio/
โโโ index.html # Main HTML file
โโโ Styles.css # All styles and animations
โโโ main.js # JavaScript functionality
โโโ Media/ # Images and assets
โ โโโ favicon.ico
โ โโโ AC SS.png
โ โโโ COD SS.png
โ โโโ Smart Sorter SS.png
โ โโโ ...
โโโ LICENSE # MIT License
โโโ README.md # This file
- A modern web browser (Chrome, Firefox, Safari, Edge)
- Basic text editor (VS Code recommended)
-
Clone the repository
git clone https://github.com/Divyansh3105/portfolio.git cd portfolio -
Open in browser
# Simply open index.html in your browser # Or use a local server: python -m http.server 8000 # Then visit http://localhost:8000
-
Customize
- Update personal information in
index.html - Modify colors in CSS variables (
:rootsection) - Add your projects to
projectsDatainmain.js - Replace images in
Media/folder
- Update personal information in
Edit CSS variables in Styles.css:
:root {
--bg-primary: #0a0a0f;
--accent-primary: #667eea;
--text-primary: #ffffff;
/* ... more variables */
}Update projectsData object in main.js:
const projectsData = {
yourProject: {
title: "Your Project",
image: "path/to/image.png",
description: "Project description",
tech: ["HTML", "CSS", "JS"],
features: ["Feature 1", "Feature 2"],
liveLink: "https://...",
codeLink: "https://github.com/...",
},
};Update Formspree endpoint in index.html:
<form action="https://formspree.io/f/YOUR_FORM_ID" method="POST"></form>- Lighthouse Score: 95+ (Performance, Accessibility, Best Practices, SEO)
- First Contentful Paint: < 1.5s
- Time to Interactive: < 3s
- Mobile Optimized: Parallax disabled on mobile for better performance
- Lazy Loading: Images load as needed
- Optimized Animations: Uses
requestAnimationFramefor 60fps
- WCAG 2.1 Level AA Compliant
- Keyboard Navigation - Full site navigable via keyboard
- Screen Reader Support - Proper ARIA labels and semantic HTML
- Focus Indicators - Clear visual focus states
- Color Contrast - Meets WCAG contrast requirements
- Reduced Motion - Respects
prefers-reduced-motion
| Browser | Version |
|---|---|
| Chrome | 90+ |
| Firefox | 88+ |
| Safari | 14+ |
| Edge | 90+ |
- Desktop: 1200px+
- Tablet: 768px - 1199px
- Mobile: < 768px
- Hero content fade on scroll
- Section backgrounds move independently
- Text elements with fade-in effect
- Project cards with staggered movement
- Optimized with
requestAnimationFrame
- 4 pre-built themes
- Smooth 0.4s transitions
- Fade overlay during switch
- LocalStorage persistence
- CSS custom properties
- Real-time email validation
- Character counter (10-1000 chars)
- Visual error states
- Success confetti animation
- Spam prevention
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Divyansh Garg
- GitHub: @Divyansh3105
- LinkedIn: divyanshgarg3105
- Email: divyanshgarg3105@gmail.com
- Font: Space Grotesk by Google Fonts
- Form Handling: Formspree
- Icons: SVG icons (inline)
- Inspiration: Modern web design trends and glassmorphism
- Blog section
- Dark mode toggle animation
- More theme options
- Project filtering by technology
- Testimonials section
- Analytics integration
- PWA support
- Multi-language support
- โ Initial release
- โ 4 theme system
- โ Parallax scrolling
- โ Contact form with validation
- โ Full keyboard accessibility
- โ Project modals
- โ Responsive design
โญ Star this repo if you found it helpful!
Made with โค๏ธ by Divyansh Garg