{"id":26684040,"url":"https://github.com/0x4bd0/hackerrank-react-skill-certification-test-2","last_synced_at":"2026-05-06T17:34:55.902Z","repository":{"id":113023094,"uuid":"341285294","full_name":"0x4bd0/hackerRank-react-skill-certification-test-2","owner":"0x4bd0","description":"solution","archived":false,"fork":false,"pushed_at":"2021-02-22T17:44:07.000Z","size":184,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-18T20:58:39.994Z","etag":null,"topics":["hackerrank","hackerrank-challenges","hackerrank-solutions","react","reactjs"],"latest_commit_sha":null,"homepage":"","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/0x4bd0.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":"2021-02-22T17:43:37.000Z","updated_at":"2023-04-19T15:23:01.000Z","dependencies_parsed_at":"2023-06-05T16:45:34.011Z","dependency_job_id":null,"html_url":"https://github.com/0x4bd0/hackerRank-react-skill-certification-test-2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0x4bd0/hackerRank-react-skill-certification-test-2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x4bd0%2FhackerRank-react-skill-certification-test-2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x4bd0%2FhackerRank-react-skill-certification-test-2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x4bd0%2FhackerRank-react-skill-certification-test-2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x4bd0%2FhackerRank-react-skill-certification-test-2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0x4bd0","download_url":"https://codeload.github.com/0x4bd0/hackerRank-react-skill-certification-test-2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x4bd0%2FhackerRank-react-skill-certification-test-2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32704579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T08:33:17.875Z","status":"ssl_error","status_checked_at":"2026-05-06T08:33:17.221Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["hackerrank","hackerrank-challenges","hackerrank-solutions","react","reactjs"],"created_at":"2025-03-26T09:18:43.051Z","updated_at":"2026-05-06T17:34:55.898Z","avatar_url":"https://github.com/0x4bd0.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React: Slideshow App\n\n## Environment \n\n- React Version: 16.13.1\n- Node Version: ^12.18.3\n- Default Port: 8000\n\n## Project Specifications \n\nCreate a basic slideshow application, as shown below. Application requirements are given below, and the finished application must pass all of the unit tests.\n\n![Gif](https://hrcdn.net/s3_pub/istreet-assets/j3Q6jXZ3DOOPRlCs9hFcnQ/slideshow.gif)\n\nYour task is to complete the implementation of `src/components/Slides.js` according to the following requirements:\n\n- The Slides component takes an array of slides as a prop. Each element of this array denotes a single slide and is an object with 2 properties: string title and string text.\n- On application launch, the first slide must be rendered.\n- Clicking on the \"Next\" button shows the next slide. This button is disabled when the current slide is the last one.\n- Clicking on the \"Prev\" button shows the previous slide. This button is disabled when the current slide is the first one.\n- Clicking on the \"Restart\" button returns to the first slide. This button is disabled when the current slide is the first one.\n- You can assume that the passed slides array contains at least one slide.\n\n\nInitially, the file is filled with boilerplate code. Note the following:\n\n- The \"Restart\" button must have `data-testid=\"button-restart\"`.\n- The \"Prev\" button must have `data-testid=\"button-prev\"`.\n- The \"Next\" button must have `data-testid=\"button-next\"`.\n- Each slide's title must be rendered as an `\u003ch1\u003e` element with `data-testid=\"title\"`.\n- Each slide's text must be rendered as a `\u003cp\u003e` element with `data-testid=\"text\"`.\n\nPlease note that the component has the above data-testid attributes for test cases and certain classes and ids for rendering purposes. It is advised not to change them.\n\n**Read-Only Files**\n- `src/App.test.js`\n\n**Commands**\n- run: \n```bash\nbash bin/env_setup \u0026\u0026 . $HOME/.nvm/nvm.sh \u0026\u0026 npm start\n```\n- install: \n```bash\nbash bin/env_setup \u0026\u0026 . $HOME/.nvm/nvm.sh \u0026\u0026 npm install\n```\n- test: \n```bash\nbash bin/env_setup \u0026\u0026 . $HOME/.nvm/nvm.sh \u0026\u0026 npm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x4bd0%2Fhackerrank-react-skill-certification-test-2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0x4bd0%2Fhackerrank-react-skill-certification-test-2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x4bd0%2Fhackerrank-react-skill-certification-test-2/lists"}