This started as a calculator I coded in Python, which I then turned into a smart calculator web app. The currency conversion side is meant to help tourists exchange currencies easily, without needing to search for and download a separate app.
Live Demo: calculator-project-qt.netlify.app
- Basic math operations (addition, subtraction, multiplication, division)
- Absolute value of a number
- Square root of a number
- Number inverse (additive inverse)
- Currency converter — I chose a specific set of currencies (USD, EUR, GBP, QAR) to keep it simple
- Note: the Python version of this project also keeps a history of past calculations. That history feature isn't currently on the website version.
- HTML
- CSS
- JavaScript
- Originally built and tested in Python first
Honestly, one of the harder parts was getting the f-string formatting right in Python — I kept getting confused about where it was going wrong in certain lines. Indexing numbers correctly was also tricky to get right.
I also ran into some rough patches trying different calculator designs. I kept hitting 404 errors on the github website and didn't know how to properly get the project onto GitHub Pages at the time, so I ended up deploying with Netlify instead.
I'm really proud of turning simple code into an actual live website. After going through the Star Dance Challenge's HTML lesson, I got so excited about finally understanding HTML that I rushed to get this onto GitHub. This was originally supposed to be a group project, but none of my teammates ended up contributing. everyone seemed to have an excuse. So I ended up building this entirely on my own, even while traveling, and I'm proud I saw it through by myself.
I used AI (Claude) to help turn my HTML file into an actual working website, before this project, I didn't really know how to build and deploy my own site. AI also helped me understand Python modules better: what they do and when to use them. I used AI to help fix parts of my code when I got confused or had errors, and to help polish the design and add features I wanted. That said, the overall project, the original Python logic, the decisions about what this calculator should do, and the reflections in this README are mine.
Made by facxts