How rajputpritesh1/portfolio works
Project type and purpose
• This is a static, front-end–only personal portfolio website built with plain HTML, CSS, and JavaScript.
• It’s deployed (via GitHub Pages) to showcase skills, projects, and contact channels.
File structure
• Top-level:
• index.html – landing page
• README.md / LICENSE.txt – documentation
• src/ – all source assets
• src/css/ – two style sheets (projects.css, styles.css)
• src/js/ – two scripts (projects.js, scripts.js)
• src/pages/projects.html – secondary page for project details
README for additional insights
• No back-end or database, purely static content
• Modern design, responsive layout, no build tools (no webpack, no server-side code)
• Hosted on GitHub Pages – static file hosting
a. Main components
• User’s Browser (Chrome, Firefox, etc.)
• GitHub Pages Hosting (Static File Server + CDN)
• Static Asset Storage (HTML, CSS, JS, images in a GitHub repo)
b. Relationships & interactions
1. Browser issues HTTP GET to GitHub Pages server
2. Server responds with index.html
3. Browser parses HTML and requests CSS, JS, images
4. GitHub Pages serves each asset over HTTP(S)
5. Client-side JS (scripts.js, projects.js) enhances interactivity
c. Architectural patterns / design principles
• Static-site architecture (no runtime back-end)
• Separation of concerns: content (HTML), styling (CSS), behavior (JS)
• Flat file structure – easy to extend (just add new pages under src/pages)
d. Key technologies
• HTML5, CSS3, vanilla JavaScript
• GitHub Pages for CI/CD & hosting
• No external frameworks—keep it lightweight
• CSS, JS, and img under a “Static Asset Storage” node