{"id":50476944,"url":"https://github.com/sohom09/calculator","last_synced_at":"2026-06-01T14:01:14.830Z","repository":{"id":307330376,"uuid":"1029159263","full_name":"sohom09/Calculator","owner":"sohom09","description":"A sleek, responsive Calculator Web Application built using HTML, CSS, and JavaScript. ","archived":false,"fork":false,"pushed_at":"2025-07-30T16:14:39.000Z","size":526,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-30T18:54:27.857Z","etag":null,"topics":["calculator","coding","css3","html-css-javascript","html5","javascript","project"],"latest_commit_sha":null,"homepage":"","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/sohom09.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,"zenodo":null}},"created_at":"2025-07-30T15:57:10.000Z","updated_at":"2025-07-30T16:15:51.000Z","dependencies_parsed_at":"2025-07-30T18:54:29.065Z","dependency_job_id":"0212cf2f-1e14-4f67-81d6-dba1260d55a7","html_url":"https://github.com/sohom09/Calculator","commit_stats":null,"previous_names":["sohom09/calculator"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/sohom09/Calculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sohom09%2FCalculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sohom09%2FCalculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sohom09%2FCalculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sohom09%2FCalculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sohom09","download_url":"https://codeload.github.com/sohom09/Calculator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sohom09%2FCalculator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33777971,"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-01T02:00:06.963Z","response_time":115,"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":["calculator","coding","css3","html-css-javascript","html5","javascript","project"],"created_at":"2026-06-01T14:01:12.675Z","updated_at":"2026-06-01T14:01:14.809Z","avatar_url":"https://github.com/sohom09.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌗 Gradient Calculator Web App\n\nA sleek, responsive **Calculator Web Application** built using **HTML**, **CSS**, and **JavaScript**. This project features a beautiful **linear gradient light/dark mode toggle**, basic arithmetic operations, percentage calculations, button **sound effects**, and full **keyboard input support** Creating a basic calculator to do basic arithmetic operations. Using HTML, CSS, JS..\n\n---\n\n## 🔮 Features\n\n- 🎨 **Light \u0026 Dark Themes** with smooth linear gradients\n- 🧮 Basic operations: `+`, `−`, `×`, `÷`, `.`, `%`\n- 🌗 **Theme toggle** (☀️ Light ↔ 🌙 Dark)\n- 🔊 Button **click sound effects**\n- ❌ **Clear all** function (`AC` and ✖)\n- ⌨️ **Keyboard support** for all inputs\n- 📱 Fully **responsive design** for mobile and desktop\n\n---\n\n## 🔗 Live Preview\n\n👉 [Click to open the calculator](https://htmlpreview.github.io/?https://github.com/sohom09/calculator/blob/main/index.html)\n\n---\n\n## 🖼️ Screenshots\n\n| Light Mode | Dark Mode |\n|------------|-----------|\n| ![Light](light-mode.png) | ![Dark](dark-mode.png) |\n\n---\n\n## 📂 Project Structure\n    - 📁 calculator-gradient-theme/\n        ├── index.html # HTML layout and structure\n        ├── style.css # Linear gradient themes, layout, responsiveness\n        ├── script.js # Logic, sound, toggle, keyboard input\n        ├── click.mp3 # Button click sound effect\n        └── README.md # Project documentation\n---\n\n## 🚀 How to Run Locally\n\n1. **Clone the repository**  \n   ```bash\n   git clone https://github.com/sohom09/calculator.git\n\n## 2. Navigate to the project folder\n    ```bash\n    cd calculator-gradient-theme\n\n## 3. Open index.html in your browser.\n\n### 🛠️ Tech Stack\n    - HTML5 – Markup structure\n    - CSS3 – Styling, linear gradients, responsive design\n    - JavaScript (Vanilla) – Calculator logic, DOM interaction, sound effects\n\n### 📌 Notes\n    - The % button divides the current value by 100.\n    - The × icon acts as a visual \"Clear All\" (same as AC).\n    - eval() is used for expression evaluation — secure for local projects, but not recommended in production apps.\n\n### 💡 Future Enhancements\n🧠 Calculation history\n\n📐 Scientific calculator mode (sin, cos, log, etc.)\n\n💾 Remember theme preference using localStorage\n\n### 🤝 Contribution\nFeel free to fork the repo, submit pull requests, or suggest features!\n\n### 📜 License\nThis project is open-source and available under the MIT License.\n\n### 👤 Author\n- Developed by Sohom Chakraborty\n\n### 🔗 GitHub Profile\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsohom09%2Fcalculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsohom09%2Fcalculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsohom09%2Fcalculator/lists"}