{"id":26472772,"url":"https://github.com/samuel-amaro/calculator-app","last_synced_at":"2026-06-14T21:32:30.812Z","repository":{"id":134088461,"uuid":"540584736","full_name":"Samuel-Amaro/calculator-app","owner":"Samuel-Amaro","description":"Desafio de codificação Front-End, um aplicativo calculadora.","archived":false,"fork":false,"pushed_at":"2022-09-24T13:05:31.000Z","size":272,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-12T12:49:22.981Z","etag":null,"topics":["bem-methodology","css3","dom-manipulation","es6-javascript","flexbox","grid-layout","html-semantics","html5","javascript","localstorage","mobile-first","normalize-css","rwd-response","webstorage-api"],"latest_commit_sha":null,"homepage":"https://samuel-amaro.github.io/calculator-app/","language":"CSS","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/Samuel-Amaro.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-09-23T19:15:40.000Z","updated_at":"2025-02-20T12:13:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"6de8bf19-f3e8-41a6-ac21-4d875ad2b480","html_url":"https://github.com/Samuel-Amaro/calculator-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Samuel-Amaro/calculator-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samuel-Amaro%2Fcalculator-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samuel-Amaro%2Fcalculator-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samuel-Amaro%2Fcalculator-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samuel-Amaro%2Fcalculator-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Samuel-Amaro","download_url":"https://codeload.github.com/Samuel-Amaro/calculator-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samuel-Amaro%2Fcalculator-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34339194,"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-06-14T02:00:07.365Z","response_time":62,"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":["bem-methodology","css3","dom-manipulation","es6-javascript","flexbox","grid-layout","html-semantics","html5","javascript","localstorage","mobile-first","normalize-css","rwd-response","webstorage-api"],"created_at":"2025-03-19T21:44:39.174Z","updated_at":"2026-06-14T21:32:30.807Z","avatar_url":"https://github.com/Samuel-Amaro.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontend Mentor - Calculator app solution\n\nThis is a solution to the [Calculator app challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/calculator-app-9lteq5N29). 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- [My process](#my-process)\n  - [Built with](#built-with)\n  - [Useful resources](#useful-resources)\n- [Author](#author)\n\n## Overview\n\n### The challenge\n\nUsers should be able to:\n\n* [x] See the size of the elements adjust based on their device's screen size\n* [x] Perform mathmatical operations like addition, subtraction, multiplication, and division\n* [x] Adjust the color theme based on their preference\n* [x] **Bonus**: Have their initial theme preference checked using `prefers-color-scheme` and have any additional changes saved in the browser\n\n### Screenshot\n\n#### Mobile Result\n\n![](./images/mobile-result.png)\n\n#### Desktop Result\n\n![](./images/result-desktop.png)\n\n### Links\n\n- Solution URL: [Repository Project](https://github.com/Samuel-Amaro/calculator-app)\n- Live Site URL: [Live Result](https://samuel-amaro.github.io/calculator-app/)\n\n## My process\n\n### Built with\n\n- Semantic HTML5 markup\n- CSS custom properties\n- Flexbox\n- CSS Grid\n- Mobile-first workflow\n- RWD(Responsive Web Design)\n- JavaScript\n- Web acessibility\n- JavaScript Programming Language\n- API DOM JS\n- API Web Storage - LocalStorage\n- Normalize CSS - [Normalize](https://necolas.github.io/normalize.css/) - Reset CSS\n- Methodology BEM(Block Element Modifier) - [BEM](http://getbem.com/introduction/) - Methodology\n\n### Useful resources\n\n- [Article resource](https://web.dev/prefers-color-scheme/) - helped me understand about prefers-colors-scheme\n- [Article resource](https://web.dev/building-a-theme-switch-component/) - hepped me build toggle component theme.\n\n## Author\n\n- Website - [Portefólio Samuel Amaro](https://samuel-amaro.github.io/portefolio-website/)\n- Frontend Mentor - [@Samuel-Amaro](https://www.frontendmentor.io/profile/Samuel-Amaro)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuel-amaro%2Fcalculator-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuel-amaro%2Fcalculator-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuel-amaro%2Fcalculator-app/lists"}