How anhquannlee/graduation-12a1 works
Main Components
• Browser/Client: Represents the end-user’s browser, which loads and renders the static website.
• GitHub Pages / Hosting Service: Acts as the delivery mechanism where the static files (index.html, script.js, and styles.css) are hosted and served.
• Static Assets: The individual components of your website:
• index.html (providing the HTML structure/content)
• script.js (handling any client-side functionality)
• styles.css (handling presentation and styling)
Architectural Patterns and Design Principles
• Structure (HTML)
• Styling (CSS)
• Behavior (JavaScript)
• That the web hosting (GitHub Pages) serves only static content, with no server-side logic. This simplifies the architecture to a client-server model where the “server” is merely a file host.
Relevant Technologies and Their Roles
• HTML, CSS, and JavaScript are the core technologies.
• GitHub Pages is used to host these files and present the live preview of the site.
• Optionally, you might note that the user’s browser and the static file hosting provider communicate over HTTP/HTTPS, forming the basis of the interaction.
Elements
• Explicit labels for each component – “GitHub Pages”, “Client Browser”, “index.html”, “script.js”, “styles.css”.
• The browser requests content.
• The hosting service responds with the static content.
• Annotations to indicate what each file is responsible for (e.g., “structure”, “style”, “behavior”).