{"id":187,"date":"2023-02-15T01:22:52","date_gmt":"2023-02-15T01:22:52","guid":{"rendered":"https:\/\/shadowstarcodes.ncoleman.tech\/?p=187"},"modified":"2023-06-27T15:15:50","modified_gmt":"2023-06-27T15:15:50","slug":"coded-calculator","status":"publish","type":"post","link":"https:\/\/shadowstarcodes.ncoleman.tech\/index.php\/2023\/02\/15\/coded-calculator\/","title":{"rendered":"Coded Calculator"},"content":{"rendered":"\n<p class=\"has-small-font-size\">Mc681, Wikimedia Commons, CC-BY-SA-4.0<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<p>I coded this calculator myself! Let me know what you think!<\/p>\n\n\n<div style=\"text-align:center; background-color:lightblue; height: 450px;\">\n<h1 style=\"text-decoration:underline; color:black;\">Calculator<\/h1>\n<p>      <!-- Addition --><\/p>\n<h3 style=\"color:red;\">Addition<\/h3>\n<form oninput=\"solution.value=parseInt(c.value)+parseInt(d.value)\">\n        <input type=\"number\" id=\"c\" name=\"c\" value=\"4\"> + <input type=\"number\" id=\"d\" name=\"d\" value=\"3\"> = <output name=\"solution\" for=\"c d\">7<\/output><br \/>\n      <\/form>\n<p><\/p>\n<p>      <!-- Subtraction --><\/p>\n<h3 style=\"color:blue;\">Subtraction<\/h3>\n<form oninput=\"subtraction.value=parseInt(e.value)-parseInt(f.value)\">\n        <input type=\"number\" id=\"e\" name=\"e\" value=\"6\"> &#8211; <input type=\"number\" id=\"f\" name=\"f\" value=\"5\"> = <output name=\"subtraction\" for=\"e f\">1<\/output><br \/>\n      <\/form>\n<p><\/p>\n<p>      <!-- Multiplication --><\/p>\n<h3 style=\"color:purple;\">Multiplication<\/h3>\n<form oninput=\"result.value=parseInt(a.value)*parseInt(b.value)\">\n        <input type=\"number\" id=\"b\" name=\"b\" value=\"5\"> \u00d7 <input type=\"number\" id=\"a\" name=\"a\" value=\"2\"> = <output name=\"result\" for=\"a b\">10<\/output><br \/>\n      <\/form>\n<p><\/p>\n<p>      <!-- Division --><\/p>\n<h3 style=\"color:green;\">Division<\/h3>\n<form oninput=\"answer.value=parseInt(g.value)\/parseInt(h.value)\">\n        <input type=\"number\" id=\"g\" name=\"g\" value=\"15\"> \u00f7 <input type=\"number\" id=\"h\" name=\"h\" value=\"3\"> = <output name=\"answer\" for=\"g h\">5<\/output><br \/>\n      <\/form>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Mc681, Wikimedia Commons, CC-BY-SA-4.0 I coded this calculator myself! Let me know what you think!<\/p>\n","protected":false},"author":1,"featured_media":224,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"book_review_cover_url":"","book_review_title":"","book_review_series":"","book_review_author":"","book_review_genre":"","book_review_isbn":"","book_review_publisher":"","book_review_release_date":"","book_review_format":"","book_review_pages":"","book_review_source":"","book_review_rating":"","book_review_summary":""},"categories":[8],"tags":[],"_links":{"self":[{"href":"https:\/\/shadowstarcodes.ncoleman.tech\/index.php\/wp-json\/wp\/v2\/posts\/187"}],"collection":[{"href":"https:\/\/shadowstarcodes.ncoleman.tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shadowstarcodes.ncoleman.tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shadowstarcodes.ncoleman.tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shadowstarcodes.ncoleman.tech\/index.php\/wp-json\/wp\/v2\/comments?post=187"}],"version-history":[{"count":20,"href":"https:\/\/shadowstarcodes.ncoleman.tech\/index.php\/wp-json\/wp\/v2\/posts\/187\/revisions"}],"predecessor-version":[{"id":210,"href":"https:\/\/shadowstarcodes.ncoleman.tech\/index.php\/wp-json\/wp\/v2\/posts\/187\/revisions\/210"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/shadowstarcodes.ncoleman.tech\/index.php\/wp-json\/wp\/v2\/media\/224"}],"wp:attachment":[{"href":"https:\/\/shadowstarcodes.ncoleman.tech\/index.php\/wp-json\/wp\/v2\/media?parent=187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shadowstarcodes.ncoleman.tech\/index.php\/wp-json\/wp\/v2\/categories?post=187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shadowstarcodes.ncoleman.tech\/index.php\/wp-json\/wp\/v2\/tags?post=187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}