{"id":25118092,"url":"https://github.com/mstarrk/homepage","last_synced_at":"2026-04-29T12:34:08.215Z","repository":{"id":273379906,"uuid":"575418780","full_name":"mstarrk/Homepage","owner":"mstarrk","description":"Problem set 8 for CS50x: Build a simple homepage using HTML, CSS, and JavaScript.","archived":false,"fork":false,"pushed_at":"2025-01-20T14:42:35.000Z","size":10660,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T12:37:53.756Z","etag":null,"topics":["bootstrap","cs50x","css","html","javascript","website"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mstarrk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-07T13:23:01.000Z","updated_at":"2025-01-20T14:42:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"47104e68-8662-4036-96b2-c3cfccf7eaa1","html_url":"https://github.com/mstarrk/Homepage","commit_stats":null,"previous_names":["mstarrk/homepage"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mstarrk/Homepage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mstarrk%2FHomepage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mstarrk%2FHomepage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mstarrk%2FHomepage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mstarrk%2FHomepage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mstarrk","download_url":"https://codeload.github.com/mstarrk/Homepage/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mstarrk%2FHomepage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32426579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T12:24:25.982Z","status":"ssl_error","status_checked_at":"2026-04-29T12:24:24.439Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap","cs50x","css","html","javascript","website"],"created_at":"2025-02-08T03:39:16.441Z","updated_at":"2026-04-29T12:34:08.211Z","avatar_url":"https://github.com/mstarrk.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Homepage  \n\nThis is my solution for [CS50x Problem Set 8: Homepage](https://cs50.harvard.edu/x/2025/psets/8/homepage/#homepage).  \n\nI designed and built a website using **HTML**, **vanilla CSS**, **JavaScript**, and **Bootstrap**. The project includes many features, such as:  \n- A responsive design.  \n- A custom footer and navigation bar (navbar).  \n- Interactive elements for a rich user experience like a hamburger menu, or carousel.\n- Dark mode support.  \n- Over 500 lines of plain CSS.\n- Assets sourced from [https://undraw.co/](https://undraw.co/).  \n\n### Extra Challenge: A Component-Based Approach Without Frameworks  \n\nSince this project doesn't use Node.js, I couldn’t rely on React or similar libraries/frameworks. To address this, I developed a [custom component loader script](https://github.com/mstarrk/Homepage/blob/main/homepage/loader.js)—`loader.js`—which functions as a basic HTML injector. This script enables reusability and eliminates repetitive code by dynamically loading reusable HTML components, allowing me to implement a composite approach. \n\nThe script allows you to use reusable components like this:  \n\n```html\n\u003cdiv class=\"navbar_component\"\u003e\u003c/div\u003e\n```\n\nIt dynamically loads the content of `./components/navbar.html` into the div.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmstarrk%2Fhomepage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmstarrk%2Fhomepage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmstarrk%2Fhomepage/lists"}