{"id":796,"date":"2025-02-23T17:45:21","date_gmt":"2025-02-23T17:45:21","guid":{"rendered":"https:\/\/saiwebs.com\/saurabhkumar\/?p=796"},"modified":"2025-02-23T18:02:11","modified_gmt":"2025-02-23T18:02:11","slug":"calculator","status":"publish","type":"post","link":"https:\/\/saiwebs.com\/saurabhkumar\/?p=796","title":{"rendered":"Calculator"},"content":{"rendered":"<p><!DOCTYPE html><html><br \/>\n<head><br \/>\n    <title>Simple Calculator<\/title><\/p>\n<style>\n        body {\n            font-family: Arial, sans-serif;\n            text-align: center;\n        }\n        .calculator {\n            width: 300px;\n            margin: auto;\n            padding: 20px;\n            border: 1px solid #ccc;\n            border-radius: 10px;\n            background: #f9f9f9;\n        }\n        input, button {\n            margin: 5px;\n            padding: 10px;\n            font-size: 18px;\n        }\n        button {\n            width: 60px;\n            cursor: pointer;\n        }\n    <\/style>\n<p><\/head><br \/>\n<body><\/p>\n<div class=\"calculator\">\n<h2>Calculator<\/h2>\n<p>        <input type=\"text\" id=\"display\" disabled><br \/>\n        <br \/>\n        <button onclick=\"clearDisplay()\">C<\/button><br \/>\n        <button onclick=\"appendToDisplay('1')\">1<\/button><br \/>\n        <button onclick=\"appendToDisplay('2')\">2<\/button><br \/>\n        <button onclick=\"appendToDisplay('+')\">+<\/button><br \/>\n        <br \/>\n        <button onclick=\"appendToDisplay('3\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Simple Calculator Calculator C 1 2 +<\/p>\n","protected":false},"author":1,"featured_media":923,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-796","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aapka-tarana"],"_links":{"self":[{"href":"https:\/\/saiwebs.com\/saurabhkumar\/index.php?rest_route=\/wp\/v2\/posts\/796","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/saiwebs.com\/saurabhkumar\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/saiwebs.com\/saurabhkumar\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/saiwebs.com\/saurabhkumar\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/saiwebs.com\/saurabhkumar\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=796"}],"version-history":[{"count":2,"href":"https:\/\/saiwebs.com\/saurabhkumar\/index.php?rest_route=\/wp\/v2\/posts\/796\/revisions"}],"predecessor-version":[{"id":798,"href":"https:\/\/saiwebs.com\/saurabhkumar\/index.php?rest_route=\/wp\/v2\/posts\/796\/revisions\/798"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/saiwebs.com\/saurabhkumar\/index.php?rest_route=\/wp\/v2\/media\/923"}],"wp:attachment":[{"href":"https:\/\/saiwebs.com\/saurabhkumar\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=796"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/saiwebs.com\/saurabhkumar\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=796"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/saiwebs.com\/saurabhkumar\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}