{"id":31766231,"url":"https://github.com/ayokanmi-adejola/result-summary-component","last_synced_at":"2025-10-10T00:30:14.638Z","repository":{"id":292317553,"uuid":"980491160","full_name":"Ayokanmi-Adejola/Result-Summary-Component","owner":"Ayokanmi-Adejola","description":"A responsive web component that displays test results with a clean, modern UI. Built with HTML, CSS, and JavaScript. Features dynamic content loading and responsive design for all screen sizes.","archived":false,"fork":false,"pushed_at":"2025-06-19T11:20:12.000Z","size":295,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-30T00:00:41.180Z","etag":null,"topics":["css3","html5","json-data-handling","mobile-first-workflow","vanilla-js"],"latest_commit_sha":null,"homepage":"https://result-summary-component-delta-two.vercel.app/","language":"CSS","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/Ayokanmi-Adejola.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,"zenodo":null}},"created_at":"2025-05-09T08:07:53.000Z","updated_at":"2025-08-27T21:09:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"e637e139-b41a-494e-b46e-af2f60d4908b","html_url":"https://github.com/Ayokanmi-Adejola/Result-Summary-Component","commit_stats":null,"previous_names":["ayokanmi-adejola/result-summary-component"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ayokanmi-Adejola/Result-Summary-Component","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayokanmi-Adejola%2FResult-Summary-Component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayokanmi-Adejola%2FResult-Summary-Component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayokanmi-Adejola%2FResult-Summary-Component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayokanmi-Adejola%2FResult-Summary-Component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ayokanmi-Adejola","download_url":"https://codeload.github.com/Ayokanmi-Adejola/Result-Summary-Component/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayokanmi-Adejola%2FResult-Summary-Component/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002359,"owners_count":26083356,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["css3","html5","json-data-handling","mobile-first-workflow","vanilla-js"],"created_at":"2025-10-10T00:29:52.003Z","updated_at":"2025-10-10T00:30:14.613Z","avatar_url":"https://github.com/Ayokanmi-Adejola.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontend Mentor - Results Summary Component Solution\n\nThis is a solution to the [Results summary component challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/results-summary-component-CE_K6s0maV). Frontend Mentor challenges help you improve your coding skills by building realistic projects.\n\n\n\n## Overview\n\n### The challenge\n\nUsers should be able to:\n\n- View the optimal layout for the interface depending on their device's screen size\n- See hover and focus states for all interactive elements on the page\n- **Bonus**: Use the local JSON data to dynamically populate the content\n\n### Screenshot\n\n![](./preview.jpg)\n\n## My process\n\n### Built with\n\n- Semantic HTML5 markup\n- CSS custom properties\n- Flexbox\n- Mobile-first workflow\n- Vanilla JavaScript\n- JSON data handling\n\n### What I learned\n\nThis project helped me practice several important front-end development concepts:\n\n1. **Responsive Design**: Creating a layout that works well on both mobile and desktop screens using CSS flexbox and media queries.\n\n2. **CSS Custom Properties**: Using CSS variables to maintain a consistent color scheme and make future updates easier.\n\n```css\n:root {\n  /* Primary colors */\n  --light-red: hsl(0, 100%, 67%);\n  --light-red-bg: hsla(0, 100%, 67%, 0.1);\n  --orangey-yellow: hsl(39, 100%, 56%);\n  /* More color variables... */\n}\n```\n\n3. **Dynamic Content Loading**: Working with JSON data to populate the page content dynamically using JavaScript.\n\n4. **CORS Understanding**: Learning about Cross-Origin Resource Sharing (CORS) issues when working with local files and how to resolve them. I had to modify my approach to handle JSON data directly in the JavaScript file to avoid CORS errors when opening the HTML file directly from the file system.\n\n### Continued development\n\nIn future projects, I plan to focus on:\n\n- Implementing more advanced JavaScript functionality\n- Exploring CSS Grid for more complex layouts\n- Learning about proper error handling in fetch operations\n- Setting up local development environments to avoid CORS issues\n\n### Useful resources\n\n- [MDN Web Docs - Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) - Comprehensive guide to using the Fetch API.\n- [MDN Web Docs - CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) - Helped me understand CORS issues and how to resolve them.\n- [CSS-Tricks - A Complete Guide to Flexbox](https://css-tricks.com/snippets/css/a-guide-to-flexbox/) - This helped me implement the responsive layout.\n\n## Author\n\n- Frontend Mentor - [@Ayokanmi Adejola](https://www.frontendmentor.io/profile/Ayokanmi-Adejola)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayokanmi-adejola%2Fresult-summary-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayokanmi-adejola%2Fresult-summary-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayokanmi-adejola%2Fresult-summary-component/lists"}