{"id":20438860,"url":"https://github.com/rohanvron/age-calculator-app","last_synced_at":"2026-04-14T05:31:21.685Z","repository":{"id":280763530,"uuid":"794245460","full_name":"rohanvron/Age-Calculator-App","owner":"rohanvron","description":"This Project fulfills the requirements of the Frontend Mentor challenge: \"View an age in years, months, and days after submitting a valid date through the form.\"","archived":false,"fork":false,"pushed_at":"2024-05-04T18:08:01.000Z","size":822,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-10T12:24:57.334Z","etag":null,"topics":["frontendmentor-challenge","javascript","jsx","reactjs","spring","tailwindcss"],"latest_commit_sha":null,"homepage":"https://rohanvron.github.io/Age-Calculator-App/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rohanvron.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-04-30T18:29:51.000Z","updated_at":"2024-05-04T18:08:03.000Z","dependencies_parsed_at":"2025-03-05T07:37:16.487Z","dependency_job_id":null,"html_url":"https://github.com/rohanvron/Age-Calculator-App","commit_stats":null,"previous_names":["rohanvron/age-calculator-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rohanvron/Age-Calculator-App","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohanvron%2FAge-Calculator-App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohanvron%2FAge-Calculator-App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohanvron%2FAge-Calculator-App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohanvron%2FAge-Calculator-App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rohanvron","download_url":"https://codeload.github.com/rohanvron/Age-Calculator-App/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohanvron%2FAge-Calculator-App/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31784251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"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":["frontendmentor-challenge","javascript","jsx","reactjs","spring","tailwindcss"],"created_at":"2024-11-15T09:13:39.890Z","updated_at":"2026-04-14T05:31:21.669Z","avatar_url":"https://github.com/rohanvron.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Age Calculator App\n\nThis repository contains the source code for an age calculator application that fulfills the requirements of the Frontend Mentor challenge: \"View an age in years, months, and days after submitting a valid date through the form.\"\n\n\u003cp align=\"center\"\u003e\n  \u003cimg  src=\"./src/assets/images/ui1.PNG\"\u003e\n\u003c/p\u003e\n\n# The challenge\n\nUsers should be able to:\n\n- View an age in years, months, and days after submitting a valid date through the form\n- Receive validation errors if:\n  - Any field is empty when the form is submitted\n  - The day number is not between 1-31\n  - The month number is not between 1-12\n  - The year is in the future\n  - The date is invalid e.g. 31/04/1991 (there are 30 days in April)\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**: See the age numbers animate to their final number when the form is submitted\n\n\u003cp align=\"center\"\u003e\n  \u003cimg  src=\"./src/assets/images/ui2.PNG\"\u003e\n\u003c/p\u003e\n\n**Features:**\n\n* Calculates age based on a user-submitted date.\n* Validates user input for empty fields, invalid dates, and out-of-range day/month values.\n* Displays the calculated age in a clear and responsive layout using a media query or a CSS framework like Tailwind CSS.\n* Implements hover and focus states for interactive elements (buttons, input fields).\n* Used React Spring To Animate the age numbers to their final number when the form is submitted\n\n**Technologies:**\n\n- [React](https://reactjs.org/) - JS library\n- [TailwindCSS](https://tailwindcss.com/) - For styles\n- [React Spring](https://www.react-spring.dev/) - Animation library\n- HTML\n- CSS\n- JavaScript\n\n## Installation and Setup\n1. Clone the repository to your local machine using the command: `git clone https://github.com/rohanvron/Age-Calculator-App.git`\n2. Navigate to the project directory: `cd Age-Calculator-App`\n3. Install the necessary dependencies using npm or yarn: `npm install` or `yarn install`\n\n## Dependencies\n\nThe project uses the following dependencies:\n- [Vite + React](https://vitejs.dev)\n- [React Spring](https://www.react-spring.dev/)\n- [Tailwind CSS](https://tailwindcss.com/docs/guides/vite)\n\nInstall Vite globally if you haven't already: `npm install -g create-vite@latest` or `yarn create vite@latest`\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nif you’re looking to enhance it, here are a few suggestions:\n\n* Implement dark/light mode theme switching (optional).\n* Enhance user experience with additional animations or interactive features.\n\n## License\n\nThis project is licensed under the MIT License. See the `LICENSE` file for more details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohanvron%2Fage-calculator-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frohanvron%2Fage-calculator-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohanvron%2Fage-calculator-app/lists"}