Skip to content

Divyansh3105/Portfolio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ Divyansh Garg - Portfolio Website

A modern, responsive portfolio website showcasing web development projects and skills with stunning animations, glassmorphism design, and full accessibility support.

Portfolio Preview HTML5 CSS3 JavaScript

๐ŸŒ Live Demo

View Live Portfolio โ†’

Experience the portfolio in action with all its features:

  • ๐ŸŽจ 4 stunning themes
  • โŒจ๏ธ Full keyboard navigation
  • ๐Ÿ“ฑ Responsive design
  • โœจ Smooth animations
  • ๐Ÿ“ง Working contact form

๐Ÿ“‘ Table of Contents


โœจ Features

๐ŸŽจ Design & UI

  • 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

๐ŸŽญ Animations & Effects

  • 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

๐ŸŽฏ Interactive Elements

  • 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

โŒจ๏ธ Accessibility

  • 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 elements
    • Enter / Space - Activate elements
    • Escape - Close modals
    • โ† / โ†’ - Navigate between projects in modal
    • โ†‘ / โ†“ - Navigate theme options

๐Ÿ“ง Contact Form

  • 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

๐ŸŽจ Theme System

  • 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

๐Ÿ› ๏ธ Technologies Used

  • 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

๐Ÿ“ Project Structure

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

๐Ÿš€ Getting Started

Prerequisites

  • A modern web browser (Chrome, Firefox, Safari, Edge)
  • Basic text editor (VS Code recommended)

Installation

  1. Clone the repository

    git clone https://github.com/Divyansh3105/portfolio.git
    cd portfolio
  2. 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
  3. Customize

    • Update personal information in index.html
    • Modify colors in CSS variables (:root section)
    • Add your projects to projectsData in main.js
    • Replace images in Media/ folder

๐ŸŽจ Customization Guide

Changing Colors

Edit CSS variables in Styles.css:

:root {
  --bg-primary: #0a0a0f;
  --accent-primary: #667eea;
  --text-primary: #ffffff;
  /* ... more variables */
}

Adding Projects

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/...",
  },
};

Modifying Form

Update Formspree endpoint in index.html:

<form action="https://formspree.io/f/YOUR_FORM_ID" method="POST"></form>

๐Ÿ“Š Performance

  • 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 requestAnimationFrame for 60fps

โ™ฟ Accessibility Features

  • 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 Support

Browser Version
Chrome 90+
Firefox 88+
Safari 14+
Edge 90+

๐Ÿ“ฑ Responsive Breakpoints

  • Desktop: 1200px+
  • Tablet: 768px - 1199px
  • Mobile: < 768px

๐ŸŽฏ Key Features Breakdown

Parallax System

  • Hero content fade on scroll
  • Section backgrounds move independently
  • Text elements with fade-in effect
  • Project cards with staggered movement
  • Optimized with requestAnimationFrame

Theme System

  • 4 pre-built themes
  • Smooth 0.4s transitions
  • Fade overlay during switch
  • LocalStorage persistence
  • CSS custom properties

Form Validation

  • Real-time email validation
  • Character counter (10-1000 chars)
  • Visual error states
  • Success confetti animation
  • Spam prevention

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ‘ค Author

Divyansh Garg

๐Ÿ™ Acknowledgments

  • Font: Space Grotesk by Google Fonts
  • Form Handling: Formspree
  • Icons: SVG icons (inline)
  • Inspiration: Modern web design trends and glassmorphism

๐Ÿ”ฎ Future Enhancements

  • Blog section
  • Dark mode toggle animation
  • More theme options
  • Project filtering by technology
  • Testimonials section
  • Analytics integration
  • PWA support
  • Multi-language support

๐Ÿ“ˆ Changelog

Version 1.0.0 (Current)

  • โœ… 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

About

This is my personal portfolio

Resources

License

Stars

Watchers

Forks