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

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...

ফাতিমা তাসনিম আমার পরিবারের কেউ নন: উপদেষ্টা নাহিদ

 ফলো করুন খবরটি সঠিক নয় বলে রিউমার স্ক্যানার জানিয়েছে  খবরটি সঠিক নয় বলে রিউমার স্ক্যানার জানিয়েছেছবি: সংগৃহীত ফাতিমা তাসনিম নামের এক নারী কানাডায় বাংলাদেশ হাইকমিশনে মিথিলা ফারজানার পদে চাকরি পেয়েছেন বলে একটি খবর প্রকাশিত হয়েছে। তাতে ওই নারীর পরিচয় হিসেবে তথ্যপ্রযুক্তি উপদেষ্টা নাহিদ ইসলামের বোন বলা হয়েছে। খবরটি সঠিক নয় বলে জানিয়েছেন নাহিদ ইসলাম। ফ্যাক্ট চেকিং বা তথ্য যাচাইকারী প্রতিষ্ঠান রিউমার স্ক্যানারও একে ভুয়া খবর বলে জানিয়েছে। https://upodaitie.net/4/8090065 এ বিষয়ে আজ মঙ্গলবার রাতে নাহিদ ইসলাম বলেন, ‘ফাতিমা তাসনিম নামের এই নারী আমার পরিবারের কেউ নন। তিনি কোথায় নিয়োগ পেয়েছেন, তা আমি জানি না। তাঁর সঙ্গে আমার কোনো যোগাযোগও নেই। তিনি মূলত গণ–অধিকার পরিষদের নেত্রী।’এদিকে খবরটি যাচাই করে রিউমার স্ক্যানার বলেছে, বিডিপ্যানারোমা নামের এই ভুঁইফোড় সাইটটিতে বর্তমানে মাত্র চারটি নিউজ রয়েছে। এর একটি ফাতিমা তাসনিমকে নিয়ে। ফাতিমা তাসনিম গণ অধিকার পরিষদের উচ্চতর পরিষদের সদস্য। তাঁকে উপদেষ্টা নাহিদের বোন বলে দাবি করা হলেও আদতে তাঁদের মধ্যে কোনো সম্পর্ক নেই। ফাতিমা কানাডার বাংলাদেশ মিশ...
https://www.effectiveratecpm.com/ic3bxc2h7?key=7daf2971028e38498139c0342ffe7f6c