{"id":2777,"date":"2022-06-19T23:09:50","date_gmt":"2022-06-20T03:09:50","guid":{"rendered":"https:\/\/community.mis.temple.edu\/mis2101sec712summer2022\/?p=2777"},"modified":"2022-06-19T23:09:50","modified_gmt":"2022-06-20T03:09:50","slug":"week-9-questions","status":"publish","type":"post","link":"https:\/\/community.mis.temple.edu\/mis2101sec712summer2022\/2022\/06\/19\/week-9-questions\/","title":{"rendered":"Week 9 Questions"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/1.bp.blogspot.com\/-8UmWFTngfwY\/XkVRuoPFfkI\/AAAAAAAACmI\/93j-FMkA9EYyoRIT1qlJ2sMUbobnWT1UgCLcBGAsYHQ\/s1600\/javascript_var.png\" alt=\"ProgrammingHunk: Variables In JavaScript\" width=\"391\" height=\"190\" \/><\/p>\n<p><span style=\"font-weight: 400\">A variable in JavaScript is the name of a storage location for data. For naming a variable, names can contain letters, numbers, underscores, and dollar signs. Names must begin with a letter, dollar sign, or underscore, and the names are case sensitive.\u00a0 To initialize the variable, use the equal sign to set the variable name equal to a piece of data, and to declare a variable, we need to use the var, let, or const keyword, then whatever we named the variable. The prompt() code tells the browser to display a text box with a message asking the user to input some data.<\/span><\/p>\n<p>Link to image: https:\/\/www.programminghunk.com\/2020\/02\/variables-in-javascript.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A variable in JavaScript is the name of a storage location for data. For naming a variable, names can contain letters, numbers, underscores, and dollar signs. Names must begin with a letter, dollar sign, or underscore, and the names are case sensitive.\u00a0 To initialize the variable, use the equal sign to set the variable name [&hellip;]<\/p>\n","protected":false},"author":27545,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[663943],"tags":[],"class_list":{"0":"post-2777","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-instructor","7":"entry"},"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec712summer2022\/wp-json\/wp\/v2\/posts\/2777","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec712summer2022\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec712summer2022\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec712summer2022\/wp-json\/wp\/v2\/users\/27545"}],"replies":[{"embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec712summer2022\/wp-json\/wp\/v2\/comments?post=2777"}],"version-history":[{"count":1,"href":"https:\/\/community.mis.temple.edu\/mis2101sec712summer2022\/wp-json\/wp\/v2\/posts\/2777\/revisions"}],"predecessor-version":[{"id":2780,"href":"https:\/\/community.mis.temple.edu\/mis2101sec712summer2022\/wp-json\/wp\/v2\/posts\/2777\/revisions\/2780"}],"wp:attachment":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec712summer2022\/wp-json\/wp\/v2\/media?parent=2777"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec712summer2022\/wp-json\/wp\/v2\/categories?post=2777"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec712summer2022\/wp-json\/wp\/v2\/tags?post=2777"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}