{"id":1547,"date":"2025-10-14T13:15:32","date_gmt":"2025-10-14T13:15:32","guid":{"rendered":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/?page_id=1500"},"modified":"2025-10-30T09:49:41","modified_gmt":"2025-10-30T09:49:41","slug":"kottide-veebikalkulaator","status":"publish","type":"page","link":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/kottide-veebikalkulaator\/","title":{"rendered":"\u041e\u043d\u043b\u0430\u0439\u043d-\u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u0441\u0443\u043c\u043e\u043a"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<html>\n<h1>Kottide veebikalkulaator<\/h1>\n<table id=\"1\">\n    <tr >\n        <td>\n            <h3>1. Kott<\/h3>\n            <img decoding=\"async\" src=\"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/wp-content\/uploads\/2025\/10\/kott_1.png\" alt=\"kott 1\" id=\"kott1\">\n            <input type=\"radio\" name=\"kott\" id=\"kott_1\" value=\"kott1\" onchange=\"valikKott()\">\n            <label for=\"kott_1\">1. Kott<\/label>\n        <\/td>\n        <td>\n            <h3>2. Kott<\/h3>\n            <img decoding=\"async\" src=\"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/wp-content\/uploads\/2025\/10\/kott_2.png\" alt=\"kott 2\" id=\"kott2\">\n            <input type=\"radio\" name=\"kott\" id=\"kott_2\" value=\"kott2\" onchange=\"valikKott()\">\n            <label for=\"kott_2\">2. Kott<\/label>\n        <\/td>\n        <td>\n            <h3>3. Kott<\/h3>\n            <img decoding=\"async\" src=\"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/wp-content\/uploads\/2025\/10\/kott_3.png\" alt=\"kott 3\" id=\"kott3\">\n            <input type=\"radio\" name=\"kott\" id=\"kott_3\" value=\"kott3\" onchange=\"valikKott()\">\n            <label for=\"kott_3\">3. Kott<\/label>\n        <\/td>\n        <td>\n            <h3>4. Kott<\/h3>\n            <img decoding=\"async\" src=\"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/wp-content\/uploads\/2025\/10\/kott_4.png\" alt=\"kott 4\" id=\"kott4\">\n            <input type=\"radio\" name=\"kott\" id=\"kott_4\" value=\"kott4\" onchange=\"valikKott()\">\n            <label for=\"kott_4\">4. Kott<\/label>\n        <\/td>\n        <td>\n            <h3>5. Kott<\/h3>\n            <img decoding=\"async\" src=\"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/wp-content\/uploads\/2025\/10\/kott_5.png\" alt=\"kott 5\" id=\"kott5\">\n            <input type=\"radio\" name=\"kott\" id=\"kott_5\" value=\"kott5\" onchange=\"valikKott()\">\n            <label for=\"kott_5\">5. Kott<\/label>\n        <\/td>\n    <\/tr>\n    <tr>\n        <td colspan=\"2\">\n            <strong>Sa valisid koti:<\/strong>\n            <br>\n            <img decoding=\"async\" src=\"\" alt=\"\" id=\"kott\">\n            <div id=\"hind\"><\/div>\n        <\/td>\n        <td colspan=\"2\">\n            <label for=\"tk\"><strong>Mitu tk soovid osta?<\/strong><\/label>\n            <br><br>\n            <input type=\"number\" id=\"tk\" min=\"1\" max=\"100\" value=\"3\">\n            <br>\n            <br>\n            <input type=\"button\" value=\"Summa ...\" onclick=\"summaKott()\">\n        <\/td>\n        <td>\n            <div id=\"sum\"> <\/div>\n        <\/td>\n    <\/tr>\n<\/table>\n<\/html>\n\n\n\n<script>\nconst koti1 = 10.5;\nconst koti2 = 20;\nconst koti3 = 18.4;\nconst koti4 = 25;\nconst koti5 = 23.4;\n\nfunction summa(kogus, hind){\n    return (kogus * hind).toFixed(2)\n}\n\nfunction valikKott(){\n    const pilt = document.getElementById('kott');\n    let kott1= document.getElementById('kott_1');\n    let kott2= document.getElementById('kott_2');\n    let kott3= document.getElementById('kott_3');\n    let kott4= document.getElementById('kott_4');\n    let kott5= document.getElementById('kott_5');\n    let hind = document.getElementById('hind');\n\n    if (kott1.checked){\n        pilt.src = \"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/wp-content\/uploads\/2025\/10\/kott_1.png\"\n        hind.innerHTML = \"Hind: \" + koti1 + \" \u20ac\";\n    }\n    if (kott2.checked){\n        pilt.src = \"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/wp-content\/uploads\/2025\/10\/kott_2.png\"\n        hind.innerHTML = \"Hind: \" + koti2 + \" \u20ac\";\n    }\n    if (kott3.checked){\n        pilt.src = \"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/wp-content\/uploads\/2025\/10\/kott_3.png\"\n        hind.innerHTML = \"Hind: \" + koti3 + \" \u20ac\";\n    }\n    if (kott4.checked){\n        pilt.src = \"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/wp-content\/uploads\/2025\/10\/kott_4.png\"\n        hind.innerHTML = \"Hind: \" + koti4 + \" \u20ac\";\n    }\n    if (kott5.checked){\n        pilt.src = \"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/wp-content\/uploads\/2025\/10\/kott_5.png\"\n        hind.innerHTML = \"Hind: \" + koti5 + \" \u20ac\";\n    }\n}\n\nfunction summaKott(){\n    let tk=document.getElementById('tk').value;\n    let sum=document.getElementById('sum');\n    let src = document.getElementById('kott').getAttribute('src');\n\n    if(src==\"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/wp-content\/uploads\/2025\/10\/kott_1.png\"){\n        sum.innerHTML= \"Summa on: \" + summa(tk, koti1) + \" \u20ac\";\n    }\n    if(src==\"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/wp-content\/uploads\/2025\/10\/kott_2.png\"){\n        sum.innerHTML= \"Summa on: \" + summa(tk, koti2) + \" \u20ac\";\n    }\n    if(src==\"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/wp-content\/uploads\/2025\/10\/kott_3.png\"){\n        sum.innerHTML= \"Summa on: \" + summa(tk, koti3) + \" \u20ac\";\n    }\n    if(src==\"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/wp-content\/uploads\/2025\/10\/kott_4.png\"){\n        sum.innerHTML= \"Summa on: \" + summa(tk, koti4) + \" \u20ac\";\n    }\n    if(src==\"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/wp-content\/uploads\/2025\/10\/kott_5.png\"){\n        sum.innerHTML= \"Summa on: \" + summa(tk, koti5) + \" \u20ac\";\n    }\n}\n<\/script>\n\n\n\n<style>\ntable, td{\n    width: 100px;\n    border-collapse: collapse;\n    border: 1px solid gray;\n    text-align: center;\n}\nbody {\n    font-family: Verdana, Geneva, Tahoma, sans-serif;\n\n}\ninput[type=button] {\n    border: 1px solid gray;\n    border-radius: 5px;\n    width: 200px;\n    height: 40px;\n    color: darkred;\n    background-color: white ;\n}\n\n<\/style>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kottide veebikalkulaator 1. Kott 1. Kott 2. Kott 2. Kott 3. Kott 3. Kott 4. Kott 4. Kott 5. Kott [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1547","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u041e\u043d\u043b\u0430\u0439\u043d-\u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u0441\u0443\u043c\u043e\u043a - Oleksandra Ryshniak Portfoolio<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/kottide-veebikalkulaator\/\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u041e\u043d\u043b\u0430\u0439\u043d-\u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u0441\u0443\u043c\u043e\u043a - Oleksandra Ryshniak Portfoolio\" \/>\n<meta property=\"og:description\" content=\"Kottide veebikalkulaator 1. Kott 1. Kott 2. Kott 2. Kott 3. Kott 3. Kott 4. Kott 4. Kott 5. Kott [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/kottide-veebikalkulaator\/\" \/>\n<meta property=\"og:site_name\" content=\"Oleksandra Ryshniak Portfoolio\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-30T09:49:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/wp-content\/uploads\/2025\/10\/kott_1.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/oleksandraryshniak24.thkit.ee\\\/wp1\\\/rus\\\/kottide-veebikalkulaator\\\/\",\"url\":\"https:\\\/\\\/oleksandraryshniak24.thkit.ee\\\/wp1\\\/rus\\\/kottide-veebikalkulaator\\\/\",\"name\":\"\u041e\u043d\u043b\u0430\u0439\u043d-\u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u0441\u0443\u043c\u043e\u043a - Oleksandra Ryshniak Portfoolio\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/oleksandraryshniak24.thkit.ee\\\/wp1\\\/rus\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/oleksandraryshniak24.thkit.ee\\\/wp1\\\/rus\\\/kottide-veebikalkulaator\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/oleksandraryshniak24.thkit.ee\\\/wp1\\\/rus\\\/kottide-veebikalkulaator\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/oleksandraryshniak24.thkit.ee\\\/wp1\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/kott_1.png\",\"datePublished\":\"2025-10-14T13:15:32+00:00\",\"dateModified\":\"2025-10-30T09:49:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/oleksandraryshniak24.thkit.ee\\\/wp1\\\/rus\\\/kottide-veebikalkulaator\\\/#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/oleksandraryshniak24.thkit.ee\\\/wp1\\\/rus\\\/kottide-veebikalkulaator\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\\\/\\\/oleksandraryshniak24.thkit.ee\\\/wp1\\\/rus\\\/kottide-veebikalkulaator\\\/#primaryimage\",\"url\":\"https:\\\/\\\/oleksandraryshniak24.thkit.ee\\\/wp1\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/kott_1.png\",\"contentUrl\":\"https:\\\/\\\/oleksandraryshniak24.thkit.ee\\\/wp1\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/kott_1.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/oleksandraryshniak24.thkit.ee\\\/wp1\\\/rus\\\/kottide-veebikalkulaator\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/oleksandraryshniak24.thkit.ee\\\/wp1\\\/rus\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u041e\u043d\u043b\u0430\u0439\u043d-\u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u0441\u0443\u043c\u043e\u043a\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/oleksandraryshniak24.thkit.ee\\\/wp1\\\/rus\\\/#website\",\"url\":\"https:\\\/\\\/oleksandraryshniak24.thkit.ee\\\/wp1\\\/rus\\\/\",\"name\":\"Oleksandra Ryshniak Portfoolio\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/oleksandraryshniak24.thkit.ee\\\/wp1\\\/rus\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ru-RU\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u041e\u043d\u043b\u0430\u0439\u043d-\u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u0441\u0443\u043c\u043e\u043a - Oleksandra Ryshniak Portfoolio","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/kottide-veebikalkulaator\/","og_locale":"ru_RU","og_type":"article","og_title":"\u041e\u043d\u043b\u0430\u0439\u043d-\u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u0441\u0443\u043c\u043e\u043a - Oleksandra Ryshniak Portfoolio","og_description":"Kottide veebikalkulaator 1. Kott 1. Kott 2. Kott 2. Kott 3. Kott 3. Kott 4. Kott 4. Kott 5. Kott [&hellip;]","og_url":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/kottide-veebikalkulaator\/","og_site_name":"Oleksandra Ryshniak Portfoolio","article_modified_time":"2025-10-30T09:49:41+00:00","og_image":[{"url":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/wp-content\/uploads\/2025\/10\/kott_1.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/kottide-veebikalkulaator\/","url":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/kottide-veebikalkulaator\/","name":"\u041e\u043d\u043b\u0430\u0439\u043d-\u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u0441\u0443\u043c\u043e\u043a - Oleksandra Ryshniak Portfoolio","isPartOf":{"@id":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/#website"},"primaryImageOfPage":{"@id":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/kottide-veebikalkulaator\/#primaryimage"},"image":{"@id":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/kottide-veebikalkulaator\/#primaryimage"},"thumbnailUrl":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/wp-content\/uploads\/2025\/10\/kott_1.png","datePublished":"2025-10-14T13:15:32+00:00","dateModified":"2025-10-30T09:49:41+00:00","breadcrumb":{"@id":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/kottide-veebikalkulaator\/#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/kottide-veebikalkulaator\/"]}]},{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/kottide-veebikalkulaator\/#primaryimage","url":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/wp-content\/uploads\/2025\/10\/kott_1.png","contentUrl":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/wp-content\/uploads\/2025\/10\/kott_1.png"},{"@type":"BreadcrumbList","@id":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/kottide-veebikalkulaator\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/"},{"@type":"ListItem","position":2,"name":"\u041e\u043d\u043b\u0430\u0439\u043d-\u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u0441\u0443\u043c\u043e\u043a"}]},{"@type":"WebSite","@id":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/#website","url":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/","name":"Oleksandra Ryshniak Portfoolio","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ru-RU"}]}},"_links":{"self":[{"href":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/wp-json\/wp\/v2\/pages\/1547","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/wp-json\/wp\/v2\/comments?post=1547"}],"version-history":[{"count":5,"href":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/wp-json\/wp\/v2\/pages\/1547\/revisions"}],"predecessor-version":[{"id":1873,"href":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/wp-json\/wp\/v2\/pages\/1547\/revisions\/1873"}],"wp:attachment":[{"href":"https:\/\/oleksandraryshniak24.thkit.ee\/wp1\/rus\/wp-json\/wp\/v2\/media?parent=1547"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}