{"id":41481285,"url":"https://github.com/bangsluke/interview-test","last_synced_at":"2026-01-23T17:19:26.966Z","repository":{"id":105071042,"uuid":"557798779","full_name":"bangsluke/interview-test","owner":"bangsluke","description":"An example interview challenge for React for testing candidates","archived":false,"fork":false,"pushed_at":"2024-07-01T06:35:18.000Z","size":11079,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-05T17:31:31.125Z","etag":null,"topics":["interview","react","test","work"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"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/bangsluke.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-10-26T10:23:07.000Z","updated_at":"2024-07-01T06:35:18.000Z","dependencies_parsed_at":"2023-10-04T13:18:36.202Z","dependency_job_id":"2cfd22e9-8f61-4f55-80a0-0c220c3baa3f","html_url":"https://github.com/bangsluke/interview-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bangsluke/interview-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bangsluke%2Finterview-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bangsluke%2Finterview-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bangsluke%2Finterview-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bangsluke%2Finterview-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bangsluke","download_url":"https://codeload.github.com/bangsluke/interview-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bangsluke%2Finterview-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28696523,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T15:57:05.722Z","status":"ssl_error","status_checked_at":"2026-01-23T15:56:27.656Z","response_time":59,"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":["interview","react","test","work"],"created_at":"2026-01-23T17:19:26.370Z","updated_at":"2026-01-23T17:19:26.959Z","avatar_url":"https://github.com/bangsluke.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tasks To Do\n\nPlease clone this repo and complete the following tasks;\n\n\u003cimg src=\"https://i.imgur.com/sTtzHbz.png\" alt=\"Starting Page\" width=\"700\"/\u003e\n\n  1. Delete the unrequired files that exist because of CRA.\n  2. Add local state to control the checkboxes within Component1 removing the hardcoded `checked={true}`.\n  3. Add an onClick event to the \"Pass Data\" button so that when clicked, the names of the checkbox options are displayed as an array in Component2.\n\t\tE.g. If \"SUV\" and \"3 Door\" were selected, show the two names comma separated as \"SUV, 3 Door\" as the white text in Component2.\n  4. If a user tries to click the pass data button without having an option selected (all 5 checkboxes as false), add a pop up in the top right of the page with a message of \"Please select at least one option\" and a 3 second time out (time until it disappears). An example image of such a pop up is below.\n\n\u003cimg src=\"https://static.dribbble.com/users/691378/screenshots/8173771/media/170463ffcf48480a6c2f39f6068251a9.png\" alt=\"Toast Example\" width=\"500\"/\u003e\n\n  5. Create a DataContext (the folder and file have already been created for you) to pass the selected checkboxes names from Component1 to Component 3. Do not pass with local state, instead get Component3 to read from the DataContext.\n\nEmail a zipped repo back to luke.bangs@rle.co.uk or email a link to the modified repo stored somewhere such as GitHub.\n\n# Getting Started with Create React App\n\nThis project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `npm start`\n\nRuns the app in the development mode.\\\nOpen [http://localhost:3000](http://localhost:3000) to view it in your browser.\n\nThe page will reload when you make changes.\\\nYou may also see any lint errors in the console.\n\n### `npm test`\n\nLaunches the test runner in the interactive watch mode.\\\nSee the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.\n\n### `npm run build`\n\nBuilds the app for production to the `build` folder.\\\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\\\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.\n\n### `npm run eject`\n\n**Note: this is a one-way operation. Once you `eject`, you can't go back!**\n\nIf you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.\n\nInstead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.\n\nYou don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.\n\n## Learn More\n\nYou can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).\n\nTo learn React, check out the [React documentation](https://reactjs.org/).\n\n### Code Splitting\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)\n\n### Analyzing the Bundle Size\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)\n\n### Making a Progressive Web App\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)\n\n### Advanced Configuration\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)\n\n### Deployment\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)\n\n### `npm run build` fails to minify\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbangsluke%2Finterview-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbangsluke%2Finterview-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbangsluke%2Finterview-test/lists"}