How pratikverma01/portfolio works
Project Type and Purpose
• This is a single-page, static frontend portfolio website designed to showcase the developer's projects, skills, certifications, and contact options.
• The README indicates a focus on modern UI/UX, responsive design, and interactive features such as animated headlines, 3D skill cards, project carousels, and a contact form integrated with FormSubmit or EmailJS.
Analyzing the File Structure
• The top-level directory "Portfolio_frontend" contains the core files:
• index.html – The main HTML file that lays out the web page structure.
• styles.css – Contains CSS rules for the layout, animations, and styles like glassmorphism and parallax effects.
• script.js – The JavaScript file managing interactions (e.g., hover effects, animations, event handling for navigation and contact form).
• image_assets/ – Contains images (including resume.pdf and other personal images) used throughout the site.
• The file tree is straightforward and suggests a clean separation of content (HTML), presentation (CSS), behavior (JavaScript), and media (assets).
Architectural Components
a. Main Components:
• Frontend Application:
• index.html: The structure/content for the webpage.
• styles.css: Defines visual design, responsive layout, and animations.
• script.js: Implements custom interactions (animations, events, form integration).
• Image Assets:
• image_assets directory with images, the resume PDF, and other resources.
• External Integrations:
• Contact Form Service (e.g., FormSubmit or EmailJS) which receives data submitted by users.
b. Relationships and Interactions:
• The browser loads index.html, which references styles.css for styling and script.js for interactivity.
• User interactions (clicks, scrolls, form submissions) are captured by script.js; animations and transitions defined in styles.css provide a dynamic UI.
• The contact form on the page (found in index.html) connects to an external email service via a form action URL.
• The images and assets enhance both content and visual appeal.
c. Architectural Patterns and Design Principles:
• The project follows a simple static site architecture separation: Content (HTML), Presentation (CSS), and Behavior (JavaScript) – similar to an MVC pattern without a backend.
• Emphasis on responsiveness and progressive enhancement using media queries and animations in CSS.
• Use of external deployments (Vercel) as noted in the README.
d. Technologies and Frameworks:
• Core: HTML5, CSS3, JavaScript.
• Styling Effects: Flexbox, Grid, CSS animations, parallax effects.
• Deployment: Vercel.
• Optional: External form solutions like FormSubmit or EmailJS for handling contact form submissions.