https://sneha2245.github.io/scientific-calculator/
3 month.
HTML, CSS, JavaScript, NetBeans , Glassfish .
i. We have build a user friendly of a scientific calculator . The interface have a display and various buttons like sin, cos , numbers , operations etc.
ii. There is a button named inverse which is used to show inverse of some buttons like ln
to , sin
to , π
to 2π
and many more.
We used inverse
button to display other buttons by using :
<span class="buttonNormal" id="inv" onclick="inv();">Inv</span>
function inv() {
document.getElementById('invStat').checked = !document.getElementById('invStat').checked;
if (document.getElementById('invStat').checked) {
document.getElementById('inv').style.backgroundColor = "#fff8a2";
document.getElementById('ex').innerHTML = "e" + "<sup>x</sup>";
document.getElementById('frac').innerHTML = "Frac";
document.getElementById('sin').innerHTML = "sin" + "<sup>-1</sup>";
document.getElementById('pi').innerHTML = "2π"; ...
} else {
document.getElementById('inv').style.backgroundColor = "#cccccc";
document.getElementById('ex').innerHTML = "ln";
document.getElementById('frac').innerHTML = "Int";
document.getElementById('sin').innerHTML = "sin";
document.getElementById('pi').innerHTML = "π"; ...
}
}
Display date and time .
https://github.com/subirghosh77 , https://github.com/sneha2245/ , https://github.com/arnabseal