<!Doctype html> <html lang = "en-in/us"> <head> <link rel = "icon" href = "./images/calculator.svg" type = "image/x-icon"> <meta charset="UTF-8"> <meta name="description" content="#"> <meta name="keywords" content="#"> <meta name="author" content="Deep"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel = "stylesheet" href = "style.css" type = "text/css"> <script src = "script.js" type = "text/javascript"></script> <script src = "Tilt.js" type = "text/javascript"></script> <title>Calculator</title> </head> <body> <div class="calc-body" data-tilt data-tilt-reverse="true"> <div class= "output"> <section class= "screen" data-state="begin"></section> </div> <div class="binary b1 op"> <span id="clear" style="--bg: #ee204d;">AC</span> <span id= "pi" style="--bg: #00308F;">∏</span> <span id= "percentage" style="--bg: #00308F;">%</span> <span class= "binarykey" style="--bg: #00308F;">/</span> </div> <div class="binary b2 op result"> <span class= "binarykey" style="--bg: #00308F;">*</span> <span class= "binarykey" style="--bg: #00308F;">+</span> <span class= "binarykey" style="--bg: #00308F;">-</span> <span id="result" style="--bg: #76BA1B;">=</span> </div> <div class= "keypad"> <span class= "numkey" style="--bg: rgba(255, 255, 255, 0.05);">7</span> <span class= "numkey" style="--bg: rgba(255, 255, 255, 0.05);">8</span> <span class= "numkey" style="--bg: rgba(255, 255, 255, 0.05);">9</span> <span class= "numkey" style="--bg: rgba(255, 255, 255, 0.05);">4</span> <span class= "numkey" style="--bg: rgba(255, 255, 255, 0.05);">5</span> <span class= "numkey" style="--bg: rgba(255, 255, 255, 0.05);">6</span> <span class= "numkey" style="--bg: rgba(255, 255, 255, 0.05);">1</span> <span class= "numkey" style="--bg: rgba(255, 255, 255, 0.05);">2</span> <span class= "numkey" style="--bg: rgba(255, 255, 255, 0.05);">3</span> <span class= "numkey" style="--bg: rgba(255, 255, 255, 0.05);">.</span> <span class= "numkey" style="--bg: rgba(255, 255, 255, 0.05);">0</span> <span id="del" style="--bg: #D49B54;"><img src="./images/backspace.svg" style="width: 45%; height: 45%; filter: invert(1)"></span> </div> </div> <script type="text/javascript"> VanillaTilt.init(document.querySelector(".calc-body"), { max: 7.5, speed: 500, }); </script> </body> </html>