How bhagwandas786/my-portfolio-webpage works
Project Type and Purpose
• This is a static, single-page portfolio website built with HTML, CSS, and JavaScript.
• It serves as a personal showcase (home, about, skills, projects, blog, contact form).
• It is deployed as static assets (index.html, styles.css, script.js, resume.pdf) to a web host or CDN (e.g., AWS S3 + CloudFront, Netlify, GitHub Pages).
File Structure
• Top-level files only; no nested directories.
• index.html: entry point / single-page layout
• styles.css: global styles & responsive design
• script.js: interactive behaviors (smooth scrolling, blog navigation, back-to-top, form handling)
• resume.pdf: downloadable asset
• README.md / LICENSE: documentation
• No backend code; contact form depends on a third-party API (Formspree).
• External styling/animation: Google Fonts, Animate.css CDN links in index.html.
Extract Additional Insights from README
• Features: responsive layout, smooth scroll, interactive cards, blog section, contact form.
• External services:
• Google Fonts for typography
• Animate.css for CSS animations
• Formspree for form submissions
• Deployment instructions mention GitHub, S3/Netlify/Vercel.
Main Components
a. Client Browser
• Renders HTML, applies CSS, executes JS.
b. Static Asset Host / CDN
• e.g., AWS S3 bucket + CloudFront (or Netlify/GitHub Pages) serving index.html, CSS, JS, PDF.
c. External Services
• Google Fonts API
• Animate.css CDN
• Formspree API endpoint for contact form submissions
d. Developer Workflow (optional)
• GitHub repository → build or direct deploy → static host
Interactions and Data Flows
• Browser → (HTTP GET) → Static Host: fetch index.html, styles.css, script.js, resume.pdf
• index.html includes links to external CDNs (Google Fonts, Animate.css)
• script.js triggers
• smooth scrolling, UI animations (client-side only)
• contact form → (HTTPS POST) → Formspree API → email or storage
• Developer pushes code → GitHub → CI/CD (if configured) → Static Host
Architectural Patterns & Principles
• Static Single-Page Application (SPA) pattern
• CDN distribution for global performance
• Third-party API integration (Formspree, fonts, CSS libs)
• Separation of concerns:
• Markup (HTML)
• Styling (CSS)
• Behavior (JS)
• Assets (PDF resume)
Must-Include
• Annotations for technologies (HTML5, CSS3, JS, Google Fonts, Animate.css, Formspree)
• Optional: CI/CD flow from GitHub to hosting platform