Skip to main content

how to make a calculator use html

 

<!DOCTYPE html> <html lang="en"> <head> <title>Calculator</title> <link rel="stylesheet" href="style.css"> </head> <body> <div id="calc"> <div id="content"> <form> <div id="output"> <input type="text" id='res'> </div> <div class="btn"> <input type="button" value='C' onclick="Clear()" id="clear"> <input type="button" value='' onclick="Back()" id="backspace"> <input type="button" value='%' onclick="Solve('%')"> <input type="button" value='/' onclick="Solve('/')"> <br> <input type="button" value='7' onclick="Solve('7')"> <input type="button" value='8' onclick="Solve('8')"> <input type="button" value='9' onclick="Solve('9')"> <input type="button" value='x' onclick="Solve('*')"> <br> <input type="button" value='4' onclick="Solve('4')"> <input type="button" value='5' onclick="Solve('5')"> <input type="button" value='6' onclick="Solve('6')"> <input type="button" value='-' onclick="Solve('-')"> <br> <input type="button" value='1' onclick="Solve('1')"> <input type="button" value='2' onclick="Solve('2')"> <input type="button" value='3' onclick="Solve('3')"> <input type="button" value='+' onclick="Solve('+')"> <br> <input type="button" value='00' onclick="Solve('00')"> <input type="button" value='0' onclick="Solve('0')"> <input type="button" value='.' onclick="Solve('.')"> <input type="button" value='=' onclick="Result()"> </div> </form> </div> </div> <script src='index.js'></script> </body> </html>

Comments

Popular posts from this blog

https://www.effectiveratecpm.com/ic3bxc2h7?key=7daf2971028e38498139c0342ffe7f6c

Kane set for 100th cap - the numbers behind his success

 Captain Harry Kane will become just the 10th man to make 100 England appearances when the Three Lions face Finland in the Nations League at Wembley on Tuesday. The 31-year-old made his debut in 2015 and is his country's all-time top scorer with 66 goals in 99 games. BBC Sport takes a look at some of his numbers on his journey towards the landmark. Kane joins illustrious list Bayern Munich striker Kane will become the first person since Wayne Rooney in November 2014 to earn a 100th cap for England. Rooney went on to earn 120 caps, putting him second on the all-time appearance list behind former goalkeeper Peter Shilton (125). The others to have surpassed the century of appearances are David Beckham (115), Steven Gerrard (114), Bobby Moore (108), Ashley Cole (107), Bobby Charlton (106), Frank Lampard (106) and Billy Wright (105). "When you look at the list [of players with 100 caps] it is a list of some our greatest players," Kane said. "I'm sure when I'm reti...

Prothom Alo website receives warning from “ethical hacker”

https://www.cpmrevenuegate.com/q0jty5uncq?key=a35f4908b5dde46d40f25ac14440afe1  Prothom Alo's website was hacked by apparently an ethical hacker on September 9 morning around 11 am. Although the website's functionality has not been affected, a message was seen pinned on the landing page of the website. At the time of writing, the message is no longer visible. The message, which was addressed to Matiur Rahman, Editor and Publisher of Prothom Alo, as well as the staff of the daily, began by saying: "I am not your enemy nor do I have any intention to damage any property of Prothom Alo." The message then went on to say to Prothom Alo: "the content management system (CMS) developed by Quintype Technologies India Ltd. that is used by your website to disseminate news online has critical security flaws." It then went on to explain that by using this CMS, "any person or organisation with malicious intentions can change, modify or modify any news or information p...