How karthik558/karthiklal works
Project type and purpose
• This is a purely static, single-page/multi-page “portfolio” website built with HTML, CSS, and JavaScript.
• There is no server-side application code (PHP/Node/etc.) beyond optional Apache directives in .htaccess.
File structure
• Top-level HTML files: index.html, portfolio.html, contact.html.
• assets/
• css: dark-style.css, light-style.css, style.css
• js: script.js
• plugins: third-party libraries (FontAwesome, jQuery, GSAP, Isotope, LightGallery, Swiper, etc.)
• .htaccess: rewrite or caching rules
• robots.txt, 404.html for SEO and error handling
Main components
a. Client (Web Browser)
b. Static Web Server (e.g., Apache, Nginx, or CDN edge)
c. Asset Store
• HTML pages
• CSS stylesheets
• JavaScript runtime & plugins
• Images and fonts
d. Optional CDN / Cache Layer
e. Third-party services (if any—e.g., analytics, form-submission endpoint)
Relationships and data flows
• Browser makes HTTP(S) GET requests to Web Server for:
1. index.html (or portfolio.html/contact.html)
2. CSS files
3. JS bundles/plugins
4. Image/font assets
• Server responds with static files, optionally via a CDN or cache.
• Browser executes script.js and plugin code, manipulating the DOM, loading galleries, smooth scrolling, etc.
• Contact form (if implemented purely via a 3rd-party service) issues an HTTP POST to that external endpoint.
Architectural patterns & design principles
• Separation of concerns: HTML (structure), CSS (styling), JS (behavior), Plugins (functionality).
• Progressive enhancement: site works with basic HTML+CSS, plugins layer adds interactivity.
• Caching & CDN: leverage browser and edge caching for performance.
Technologies / frameworks
• HTML5 static pages
• CSS3 (light, dark modes)
• Vanilla JS + jQuery + GSAP + Isotope + LightGallery + Swiper
• Apache (.htaccess) or static-hosting service