{"id":28319407,"url":"https://github.com/zeynabmvs/fem-result-summary-component","last_synced_at":"2026-04-11T19:32:22.742Z","repository":{"id":249224574,"uuid":"830823654","full_name":"zeynabmvs/fem-result-summary-component","owner":"zeynabmvs","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-20T10:08:05.000Z","size":533,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-19T06:45:43.883Z","etag":null,"topics":["react","tailwindcss","typescript","vercel","vite"],"latest_commit_sha":null,"homepage":"https://fem-result-summary-component-three.vercel.app","language":"TypeScript","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/zeynabmvs.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":"2024-07-19T04:41:00.000Z","updated_at":"2024-07-20T10:08:09.000Z","dependencies_parsed_at":"2025-06-19T06:45:24.329Z","dependency_job_id":null,"html_url":"https://github.com/zeynabmvs/fem-result-summary-component","commit_stats":null,"previous_names":["zeynabmvs/fem-result-summary-component"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zeynabmvs/fem-result-summary-component","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeynabmvs%2Ffem-result-summary-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeynabmvs%2Ffem-result-summary-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeynabmvs%2Ffem-result-summary-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeynabmvs%2Ffem-result-summary-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeynabmvs","download_url":"https://codeload.github.com/zeynabmvs/fem-result-summary-component/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeynabmvs%2Ffem-result-summary-component/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31693272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["react","tailwindcss","typescript","vercel","vite"],"created_at":"2025-05-25T09:10:49.115Z","updated_at":"2026-04-11T19:32:22.708Z","avatar_url":"https://github.com/zeynabmvs.png","language":"TypeScript","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## Table of contents\n\n- [Overview](#overview)\n  - [The challenge](#the-challenge)\n  - [Screenshot](#screenshot)\n  - [Links](#links)\n- [My process](#my-process)\n  - [Built with](#built-with)\n  - [What I learned](#what-i-learned)\n  - [Continued development](#continued-development)\n  - [Useful resources](#useful-resources)\n- [Author](#author)\n- [Acknowledgments](#acknowledgments)\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![](./screenshot.png)\n\n### Links\n\n- [Github repository](https://github.com/zeynabmvs/fem-result-summary-component)\n- [Live Site URL ](https://fem-result-summary-component-three.vercel.app/)\n\n## My process\n\n### Built with\n\n- Typescript\n- Vercel\n- Vite\n- [React 18](https://react.dev/) - JS library\n- Tailwindcss\n\n### What I learned\n\nThis was my first project using TypeScript. I read the documentation and implemented TypeScript into the project. I tried to style the summary item box using dynamic Tailwind CSS classes (like so: bg-primary-${variant}), which failed because of how Tailwind generates styles. Then, I found a solution using the safelist in Tailwind's configuration:\n\n```js\n  safelist: [\n    'text-primary-red',\n    'text-primary-yellow',\n    'text-primary-green',\n    'text-primary-blue',\n    'bg-primary-red',\n    'bg-primary-yellow',\n    'bg-primary-green',\n    'bg-primary-blue',\n  ]\n```\nby adding this to tailwind config I was able to create styles based on data on the fly\n\n### Continued development\n\n- I want to continue my learning of typescript\n\n### Useful resources\n\n- [Using typescript with React ](https://react.dev/learn/typescript)\n\n## Author\n\n- Frontend Mentor - [@zeynabmvs](https://www.frontendmentor.io/profile/zeynabmvs)\n\n## Acknowledgments\n\nI used ChatGPT as a coding buddy and mentor. I had some problems setting up TypeScript and absolute paths, but with ChatGPT, the process became smooth, and it directed me to write better code.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeynabmvs%2Ffem-result-summary-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeynabmvs%2Ffem-result-summary-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeynabmvs%2Ffem-result-summary-component/lists"}