{"id":15889253,"url":"https://github.com/srikanth-kandi/react-faqs-app","last_synced_at":"2025-04-02T16:48:27.991Z","repository":{"id":206971352,"uuid":"718113361","full_name":"srikanth-kandi/react-faqs-app","owner":"srikanth-kandi","description":"FAQs App using ReactJS ⚛","archived":false,"fork":false,"pushed_at":"2023-11-13T12:25:44.000Z","size":542,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T07:28:01.780Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://srikanth-kandi.github.io/react-faqs-app/","language":"JavaScript","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/srikanth-kandi.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}},"created_at":"2023-11-13T12:09:41.000Z","updated_at":"2023-11-13T12:22:58.000Z","dependencies_parsed_at":"2023-11-13T13:45:26.052Z","dependency_job_id":null,"html_url":"https://github.com/srikanth-kandi/react-faqs-app","commit_stats":null,"previous_names":["srikanth-kandi/react-faqs-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srikanth-kandi%2Freact-faqs-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srikanth-kandi%2Freact-faqs-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srikanth-kandi%2Freact-faqs-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srikanth-kandi%2Freact-faqs-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srikanth-kandi","download_url":"https://codeload.github.com/srikanth-kandi/react-faqs-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246854888,"owners_count":20844833,"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","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":[],"created_at":"2024-10-06T06:42:09.065Z","updated_at":"2025-04-02T16:48:27.970Z","avatar_url":"https://github.com/srikanth-kandi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FAQs App using ReactJS ⚛\n\nLive demo - [https://srikanth-kandi.github.io/react-faqs-app/](https://srikanth-kandi.github.io/react-faqs-app/)\n\nIn this project, let's build a **Faqs App** by applying the concepts we have learned till now.\n\n### Refer to the image below:\n\n\u003cbr/\u003e\n\u003cdiv style=\"text-align: center;\"\u003e\n\u003cimg src=\"https://assets.ccbp.in/frontend/content/react-js/faqs-output-v3.gif\" alt=\"faqs-output\" style=\"max-width:70%;box-shadow:0 2.8px 2.2px rgba(0, 0, 0, 0.12)\" /\u003e\n\u003c/div\u003e\n\u003cbr/\u003e\n\n### Design Files\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to view\u003c/summary\u003e\n\n- [Extra Small (Size \u003c 576px), Small (Size \u003e= 576px), Medium (Size \u003e= 768px)](https://assets.ccbp.in/frontend/content/react-js/faqs-sm-output-v2.png)\n- [Large (Size \u003e= 992px) and Extra Large (Size \u003e= 1200px)](https://assets.ccbp.in/frontend/content/react-js/faqs-lg-output-v2.png)\n\n\u003c/details\u003e\n\n### Set Up Instructions\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to view\u003c/summary\u003e\n\n- Download dependencies by running `npm install`\n- Start up the app using `npm start`\n\u003c/details\u003e\n\n### Completion Instructions\n\n\u003cdetails\u003e\n\u003csummary\u003eFunctionality to be added\u003c/summary\u003e\n\u003cbr/\u003e\n\nThe app must have the following functionalities\n\n- When the plus icon is clicked in a FAQ\n  - The answer to the FAQ should be visible to the user\n  - The plus icon should change to a minus icon\n- When the minus icon is clicked in a FAQ\n  - The answer to the FAQ should be hidden to the user\n  - The minus icon should change to a plus icon\n- The `Faqs` component receives the `faqsList` as a prop. It consists of a list of faq objects with the following properties in each faq object\n\n  |     Key      | Data Type |\n  | :----------: | :-------: |\n  |      id      |  Number   |\n  | questionText |  String   |\n  |  answerText  |  String   |\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eComponents Structure\u003c/summary\u003e\n\n\u003cbr/\u003e\n\u003cdiv style=\"text-align: center;\"\u003e\n    \u003cimg src=\"https://assets.ccbp.in/frontend/content/react-js/faqs-component-structure-breakdown.png\" alt=\"faqs-component-structure\" style=\"max-width:100%;box-shadow:0 2.8px 2.2px rgba(0, 0, 0, 0.12)\"\u003e\n\u003c/div\u003e\n\u003cbr/\u003e\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eImplementation Files\u003c/summary\u003e\n\u003cbr/\u003e\n\nUse these files to complete the implementation:\n\n- `src/components/Faqs/index.js`\n- `src/components/Faqs/index.css`\n- `src/components/FaqItem/index.js`\n- `src/components/FaqItem/index.css`\n\u003c/details\u003e\n\n### Quick Tips\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to view\u003c/summary\u003e\n\u003cbr\u003e\n\n- You can use the `box-shadow` CSS property to apply the box-shadow effect to containers\n\n  ```\n    box-shadow: 0px 4px 16px 0px #bfbfbf;\n  ```\n\n  \u003cbr/\u003e\n   \u003cimg src=\"https://assets.ccbp.in/frontend/content/react-js/box-shadow-img.png\" alt=\"box shadow\" style=\"width:200px\" /\u003e\n\n- You can use the `cursor` CSS property to specify the mouse cursor to be displayed when pointing over an element\n\n  ```\n    cursor: pointer;\n  ```\n\n  \u003cbr/\u003e\n   \u003cimg src=\"https://assets.ccbp.in/frontend/content/react-js/cursor-pointer-img.png\" alt=\"cursor pointer\" style=\"width:100px\" /\u003e\n\n- You can use the below `outline` CSS property for buttons and input elements to remove the highlighting when the elements are clicked\n\n  ```\n    outline: none;\n  ```\n\n\u003c/details\u003e\n\n### Resources\n\n\u003cdetails\u003e\n\u003csummary\u003eImage URLs\u003c/summary\u003e\n\n- [https://assets.ccbp.in/frontend/react-js/faqs-plus-icon-img.png](https://assets.ccbp.in/frontend/react-js/faqs-plus-icon-img.png) alt should be **plus**\n- [https://assets.ccbp.in/frontend/react-js/faqs-minus-icon-img.png](https://assets.ccbp.in/frontend/react-js/faqs-minus-icon-img.png) alt should be **minus**\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eColors\u003c/summary\u003e\n\n\u003cbr/\u003e\n\n\u003cdiv style=\"background-color: #cb8805; width: 150px; padding: 10px; color: white\"\u003eHex: #cb8805\u003c/div\u003e\n\u003cdiv style=\"background-color: #52606d; width: 150px; padding: 10px; color: white\"\u003eHex: #52606d\u003c/div\u003e\n\u003cdiv style=\"background-color: #9aa5b1; width: 150px; padding: 10px; color: white\"\u003eHex: #9aa5b1\u003c/div\u003e\n\n#### Border Colors\n\n\u003cdiv style=\"background-color: #d7dae6; width: 150px; padding: 10px; color: black\"\u003eHex: #d7dae6\u003c/div\u003e\n\u003cdiv style=\"background-color: #e4e7eb; width: 150px; padding: 10px; color: black\"\u003eHex: #e4e7eb\u003c/div\u003e\n\n#### Background Colors\n\n\u003cdiv style=\"background-color: #ffffff; width: 150px; padding: 10px; color: black\"\u003eHex: #ffffff\u003c/div\u003e\n\u003cdiv style=\"background-color: #f1f5f8; width: 150px; padding: 10px; color: black\"\u003eHex: #f1f5f8\u003c/div\u003e\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eFont-families\u003c/summary\u003e\n\n- Roboto\n\n\u003c/details\u003e\n\n\u003e ### _Things to Keep in Mind_\n\u003e\n\u003e - All components you implement should go in the `src/components` directory.\n\u003e - Don't change the component folder names as those are the files being imported into the tests.\n\u003e - **Do not remove the pre-filled code**\n\u003e - Want to quickly review some of the concepts you’ve been learning? Take a look at the Cheat Sheets.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrikanth-kandi%2Freact-faqs-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrikanth-kandi%2Freact-faqs-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrikanth-kandi%2Freact-faqs-app/lists"}