Simple Scientific Calculator using javascript
Submitted by Jeprox on Thursday, January 21, 2016 - 16:52.
Language
In this project we are going to learn how to create a simple scientific calculator using javascript. Here's the script for scientific calculator.
Javascript Code:
CSS Code:
form{
width:440px;
padding:25px;
margin:auto;
border:5px solid #aaa;
border-radius:15px 15px;
}
input{
background:#888;
color:#fff;
font-size:15px;
padding-top:15px;
padding-bottom:15px;
padding-left:19px;
padding-right:19px;
margin:6px;
}
h2{
text-align:center;
}
.sc{
background:#fff;
color:#000;
}
Body Section:
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
Add new comment
- 6144 views