{"id":3397,"date":"2026-11-10T08:04:23","date_gmt":"2026-11-10T08:04:23","guid":{"rendered":"https:\/\/wiki.designcorner.co.ke\/?dc_term=variable"},"modified":"2026-11-10T08:04:23","modified_gmt":"2026-11-10T08:04:23","slug":"variable","status":"publish","type":"dc_term","link":"https:\/\/wiki.designcorner.co.ke\/?dc_term=variable","title":{"rendered":"Variable"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">What it is<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A variable has a name and holds data such as a number, a piece of text or a yes\/no value. The program can read it and update it as it works.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why it matters for your business<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Almost every website feature, from shopping carts to login forms, relies on variables. Knowing the idea helps you talk clearly with developers.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Real-world example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">On an online shop, a variable named cart_total changes each time a customer adds an item priced in Kenya shillings.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Design Corner tip<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When briefing a developer, name the pieces of data your system must track, such as price, stock level or order status.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>A named container in a program that holds a value which can change while the program runs.<\/p>\n","protected":false},"featured_media":0,"template":"","dc_letter":[27],"dc_topic":[59,34],"class_list":["post-3397","dc_term","type-dc_term","status-publish","hentry","dc_letter-v","dc_topic-programming","dc_topic-software-and-development"],"_links":{"self":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/3397","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term"}],"about":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/types\/dc_term"}],"version-history":[{"count":0,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/3397\/revisions"}],"wp:attachment":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3397"}],"wp:term":[{"taxonomy":"dc_letter","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_letter&post=3397"},{"taxonomy":"dc_topic","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_topic&post=3397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}