{"id":22302156,"url":"https://github.com/ashokravina/speedometer","last_synced_at":"2026-02-07T11:32:13.257Z","repository":{"id":250685705,"uuid":"832680486","full_name":"ashokravina/Speedometer","owner":"ashokravina","description":"Speedometer in React js Nxt Wave","archived":false,"fork":false,"pushed_at":"2024-07-23T14:13:26.000Z","size":181,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-24T11:42:01.867Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://speedometerbyar.ccbp.tech/","language":"HTML","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/ashokravina.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":"2024-07-23T14:02:28.000Z","updated_at":"2024-08-16T06:42:41.000Z","dependencies_parsed_at":"2024-07-29T13:06:51.472Z","dependency_job_id":null,"html_url":"https://github.com/ashokravina/Speedometer","commit_stats":null,"previous_names":["ashokravina/speedometer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ashokravina/Speedometer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashokravina%2FSpeedometer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashokravina%2FSpeedometer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashokravina%2FSpeedometer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashokravina%2FSpeedometer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashokravina","download_url":"https://codeload.github.com/ashokravina/Speedometer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashokravina%2FSpeedometer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29193586,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T07:37:03.739Z","status":"ssl_error","status_checked_at":"2026-02-07T07:37:03.029Z","response_time":63,"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":[],"created_at":"2024-12-03T18:35:04.374Z","updated_at":"2026-02-07T11:32:13.242Z","avatar_url":"https://github.com/ashokravina.png","language":"HTML","readme":"In this project, let's build a **Speedometer** 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/speedometer-ouput.gif\" alt=\"speedometer 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) and Small (Size \u003e= 576px)](https://assets.ccbp.in/frontend/content/react-js/speedometer-sm-output.png)\n- [Medium (Size \u003e= 768px), Large (Size \u003e= 992px) and Extra Large (Size \u003e= 1200px)](https://assets.ccbp.in/frontend/content/react-js/speedometer-lg-output.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- The speed should initially be 0mph\n\n  \u003e Here mph means Miles per hour\n\n- When Accelerate button is clicked,\n  - If the speed is less than 200mph, the speed should be increased by 10mph\n  - If the speed is equal to 200mph, the speed should not be increased\n- When Apply Brake button is clicked\n  - If the speed is greater than 0mph, then the speed should be decreased by 10mph\n  - If the speed is equal to 0mph, the speed should not be decreased\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/Speedometer/index.js`\n- `src/components/Speedometer/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 below cursor CSS property for buttons to set the type of mouse cursor, to show when the mouse pointer is 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/speedometer-img.png](https://assets.ccbp.in/frontend/react-js/speedometer-img.png) alt should be **speedometer**\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: #07080c ; width: 150px; padding: 10px; color: white\"\u003eHex: #07080c\u003c/div\u003e\n\u003cdiv style=\"background-color: #ffffff ; width: 150px; padding: 10px; color: black\"\u003eHex: #ffffff\u003c/div\u003e\n\u003cdiv style=\"background-color: #cbd5e1 ; width: 150px; padding: 10px; color: black\"\u003eHex: #cbd5e1\u003c/div\u003e\n\u003cdiv style=\"background-color: #0b69ff ; width: 150px; padding: 10px; color: white\"\u003eHex: #0b69ff\u003c/div\u003e\n\u003cdiv style=\"background-color: #94a3b8 ; width: 150px; padding: 10px; color: white\"\u003eHex: #94a3b8\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","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashokravina%2Fspeedometer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashokravina%2Fspeedometer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashokravina%2Fspeedometer/lists"}