How adarsh275/travel-blog-website works
Project type and purpose
• Travel-Blog-Website is a multi-page, static front-end website. There is no server-side code or database in the repository; all logic runs in the browser (HTML/CSS/JS). Each folder (HomePage, ContactUs, Login, Recommendations, Review) corresponds to a feature or “page” of the blog.
File structure
• Top-level folders:
• HomePage – landing page with its assets, styles, scripts, fonts.
• ContactUs – contact form page.
• Login – client-side login page and app.js.
• Recommendations – travel recommendations page + CSS + images.
• Review – user review page with main.js.
• Common file types: HTML (views), CSS (styles), JS (behaviors), images, fonts, webfonts.
• No backend or build scripts—pure static hosting.
README
• README only contains the title “Travel-Blog-Website.” No further architectural clues.
Main components and interactions
a. Components
1. User’s Browser (Client)
2. Web Server / Static Hosting (e.g., Netlify, GitHub Pages, S3 + CloudFront)
3. HTML Views (HomePage, ContactUs, Recommendations, Review, Login)
4. CSS Stylesheets (global and page-specific)
5. JS Modules (app.js for login, main.js for review interactions, AOS library)
6. Assets Store (Images, Fonts, Webfonts)
b. Relationships & Data Flow
• Browser → HTTP GET → Server: requests .html → receives HTML
• HTML page → browser parses → loads CSS, JS, image/font assets
• JS modules handle client-side interactivity (login form validation, scroll animations, review submission)
c. Architectural Patterns & Principles
• Separation of concerns: one folder per feature/page
• Client-side rendering for interactive parts (no SSR)
• Static asset hosting (CDN recommended)
d. Key Technologies
• HTML5, CSS3, JavaScript
• AOS.js (Animate on Scroll)
• Font Awesome webfonts
• Google Fonts (Abel, Anton, etc.)