/7seg-calculator

A calculator made with HTML5, CSS3 and JavaScript

Primary LanguageCSS

Flippable LCD 7-segment Display Calculator

Forked from Ideaviate/html5-css3-js-calculator on 9/7/2016

  • Applied 7-segment font from http://www.keshikan.net/fonts-e.html

  • Added "FLIP" button that flips the calculator upside-down so you can read any words you've created

  • Visual tweaks to round corners and button font size

  • My text editor mangled the "divided-by" symbol so I changed it to "/" within the code and specified the HTML entity designator ÷ for display.


HTML5, CSS3 and JavaScript calculator

This was a small project we did just to play around with some of the latest web tools, such as KnockoutJS. We wanted to design and build something that looked clean, used no images and with a small amount of code.

The result was a simple calculator built with pure CSS and a little bit of JavaScript and Knockout love.

The calculator also has keyboard support through your keyboard numpad.

Demo

We published a demo where you can try the calculator online. The demo is also included if you clone the repo.

License

Copyright (C) 2012 Ideaviate AB

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.