• Add to Collection
  • Tools Used
  • About

    About

    This is a quick sample JavaScript Calculator I created as an example for my students.
    Published:
This is a quick sample JavaScript Calculator I created as an example for my students.
 
The unique part of this calculator is that all the buttons are created dynamically. Basically the Javascript runs a function that creates an array of "keys" each key has a text value and an id name. Then the script adds a list item wit the key text and id name into the unordered list already in the HTML.
 
All the styling is done using CSS3 and features rounded borders and Google Fonts.
 
 
Or Fork this project at: http://cssdeck.com/labs/jscalculator