{"id":20459944,"url":"https://github.com/njeruthuo/age-calculator-with-reactjs","last_synced_at":"2026-05-27T20:32:06.196Z","repository":{"id":239738561,"uuid":"800421408","full_name":"njeruthuo/age-calculator-with-reactjs","owner":"njeruthuo","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-14T09:58:11.000Z","size":732,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T11:17:40.629Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://age-calculator-with-reactjs.vercel.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/njeruthuo.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-05-14T09:54:53.000Z","updated_at":"2024-05-14T09:58:13.000Z","dependencies_parsed_at":"2024-05-14T11:00:59.324Z","dependency_job_id":"05dbbc05-962a-4e2e-9b1f-95737edb212f","html_url":"https://github.com/njeruthuo/age-calculator-with-reactjs","commit_stats":null,"previous_names":["njeruthuo/age-calculator-with-reactjs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/njeruthuo/age-calculator-with-reactjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njeruthuo%2Fage-calculator-with-reactjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njeruthuo%2Fage-calculator-with-reactjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njeruthuo%2Fage-calculator-with-reactjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njeruthuo%2Fage-calculator-with-reactjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/njeruthuo","download_url":"https://codeload.github.com/njeruthuo/age-calculator-with-reactjs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njeruthuo%2Fage-calculator-with-reactjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33583394,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-11-15T12:17:49.635Z","updated_at":"2026-05-27T20:32:06.175Z","avatar_url":"https://github.com/njeruthuo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontend Mentor - Age calculator app solution\n\nThis is a solution to the [Age calculator app challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/age-calculator-app-dF9DFFpj-Q). Frontend Mentor challenges help you improve your coding skills by building realistic projects. \n\n## Table of contents\n\n- [Overview](#overview)\n  - [The challenge](#the-challenge)\n  - [Screenshot](#screenshot)\n  - [Links](#links)\n  - [Built with](#built-with)\n  - [What I learned](#what-i-learned)\n  - [Continued development](#continued-development)\n  - [Useful resources](#useful-resources)\n- [Author](#author)\n\n**Note: Delete this note and update the table of contents based on what sections you keep.**\n\n## Overview\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### Screenshot\n\n![](./Screenshots/s3.png)\n![](./Screenshots/s4.png)\n![](./Screenshots/s5.png)\n![](./Screenshots/s6.png)\n\n\n\n### Links\n\n- Solution URL: [GitHUB](https://github.com/njeruthuo/age-calculator-with-reactjs)\n- Live Site URL: [Vercel](https://age-calculator-with-reactjs.vercel.app/)\n\n\n### Built with\n\n- Flexbox\n- JavaScript\n- TailwindCSS\n- formData API\n- Semantic HTML5 markup\n- CSS custom properties\n- Mobile-first workflow\n- [React](https://reactjs.org/) - JS library\n- [Styled Components](https://styled-components.com/) - For styles\n\n\n### What I learned\n\nI learnt how to utilize JavaScript Dates and time.\n\n### Useful resources\n\n- [CHATGPT](https://www.chatgpt.com) - AI tools should be used to boost productivity\n\n## Author\n\n\u003c!-- - Website - [Add your name here](https://www.your-site.com) --\u003e\n- Frontend Mentor - [@njeruthuo](https://www.frontendmentor.io/profile/njeruthuo)\n- Twitter - [@njeru19_njeru](https://www.twitter.com/njeru19_njeru)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnjeruthuo%2Fage-calculator-with-reactjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnjeruthuo%2Fage-calculator-with-reactjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnjeruthuo%2Fage-calculator-with-reactjs/lists"}