{"id":25531952,"url":"https://github.com/m-ah07/basic-calculator","last_synced_at":"2026-02-14T00:44:15.294Z","repository":{"id":267925543,"uuid":"902779952","full_name":"m-ah07/basic-calculator","owner":"m-ah07","description":"A lightweight and responsive calculator built with HTML, CSS, and JavaScript. This project showcases a basic arithmetic calculator capable of performing addition, subtraction, multiplication, and division.","archived":false,"fork":false,"pushed_at":"2025-02-14T11:27:56.000Z","size":106,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-14T22:44:59.256Z","etag":null,"topics":["calculator","javascript","math","simple","template","tool"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/m-ah07.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,"zenodo":null}},"created_at":"2024-12-13T08:54:53.000Z","updated_at":"2025-02-14T11:28:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"29e61e9a-3e41-4fd5-907f-92af26427c9c","html_url":"https://github.com/m-ah07/basic-calculator","commit_stats":null,"previous_names":["marwan-ahmed-23/basic-calculator","m-ah07/basic-calculator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/m-ah07/basic-calculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-ah07%2Fbasic-calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-ah07%2Fbasic-calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-ah07%2Fbasic-calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-ah07%2Fbasic-calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m-ah07","download_url":"https://codeload.github.com/m-ah07/basic-calculator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-ah07%2Fbasic-calculator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29426910,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T22:20:51.549Z","status":"ssl_error","status_checked_at":"2026-02-13T22:20:49.838Z","response_time":78,"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":["calculator","javascript","math","simple","template","tool"],"created_at":"2025-02-20T01:42:29.908Z","updated_at":"2026-02-14T00:44:15.269Z","avatar_url":"https://github.com/m-ah07.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌟 Basic Calculator\n\nA modern, responsive, and feature-rich calculator built with **HTML**, **CSS**, and **JavaScript**. This project supports basic arithmetic operations, advanced scientific functions, and a toggleable **dark mode** for an enhanced user experience.\n\n\n## 🚀 Features\n- **Basic Arithmetic Operations**:\n  - Addition (+), Subtraction (-), Multiplication (*), Division (/), Modulus (%).\n- **Scientific Functions**:\n  - Square roots (√), Exponentiation (x²), Logarithms (log), and Trigonometric functions (sin, cos, tan).\n- **Dark Mode**:\n  - Toggle between light and dark themes with a smooth transition.\n  - Persistent theme settings saved in local storage.\n- **Calculation History**:\n  - Displays previous calculations with improved styling and spacing.\n- **Responsive Design**:\n  - Fully optimized for desktop and mobile devices.\n\n\n## 📸 Demo\n\n![Basic calculator Demo](assets/screenshot.png \"Demo of Basic calculator App\")\n\n## 📂 Directory Structure\n```plaintext\nbasic-calculator/\n├── assets/\n│   └── screenshot.png\n├── LICENSE\n├── index.html\n├── styles.css\n├── script.js\n└── README.md\n```\n\n## 📖 How to Use\nClone and Run Locally:\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/m-ah07/basic-calculator.git\n    ```\n\n2. Navigate to the project directory:\n\n    ```bash\n    cd basic-calculator\n    ```\n\n3. Open `index.html` in your browser.\n\n\u003e ### View Online:\n\u003e You can also host the project on any static hosting platform (e.g., GitHub Pages, Netlify, Vercel).\n\n\n## 🛠️ Customization\nHow to Customize:\n- Modify `styles.css` for custom themes or layouts.\n- Add or edit functions in `script.js` for advanced operations.\n- Update `index.html` to personalize the UI.\n\n## 🤝 Contributions\nContributions are welcome! If you'd like to improve or extend the functionality, feel free to fork the repository and submit a pull request.\n\n## 🌟 Stay Connected\n- Star this repository if you find it helpful! ⭐\n- Share your feedback or suggestions to help us improve.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-ah07%2Fbasic-calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm-ah07%2Fbasic-calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-ah07%2Fbasic-calculator/lists"}