{"id":3542,"date":"2023-02-28T16:30:52","date_gmt":"2023-02-28T21:30:52","guid":{"rendered":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/?p=3542"},"modified":"2023-02-28T16:30:52","modified_gmt":"2023-02-28T21:30:52","slug":"why-is-javascript-event-driven-7a","status":"publish","type":"post","link":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/2023\/02\/28\/why-is-javascript-event-driven-7a\/","title":{"rendered":"Why is JavaScript &#8220;Event-Driven&#8221;? (7A)"},"content":{"rendered":"<p>JavaScript is \u201cevent-driven\u201d because it is an interactive language. It is always waiting for the user to do something. Typing on a keyboard, submitting a form, refreshing a screen, and many other things prompt the program to execute some form of code. On a website, though, there are several other factors working behind the scenes. HTML, which stands for Hypertext Markup Language, is responsible for displaying the content that you see. In addition, CSS (Cascading Style Sheets) controls the formatting and layout of the website. It can format multiple pages and save a lot of time for programmers. Neither HTML and CSS have the ability to be interactive, so that\u2019s why JavaScript is super important. Many websites that rely on interactivity, such as Amazon, Google, Gmail and other email sites are dependent on the capabilities of JavaScript, HTML, and CSS. Without their existence and collaboration, so many websites wouldn\u2019t work correctly or at all.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>JavaScript is \u201cevent-driven\u201d because it is an interactive language. It is always waiting for the user to do something. Typing on a keyboard, submitting a form, refreshing a screen, and many other things prompt the program to execute some form of code. On a website, though, there are several other factors working behind the scenes. [&hellip;]<\/p>\n","protected":false},"author":29446,"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":[10531],"tags":[845005],"class_list":{"0":"post-3542","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-student-post","7":"tag-javascript","8":"entry"},"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/posts\/3542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/users\/29446"}],"replies":[{"embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/comments?post=3542"}],"version-history":[{"count":1,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/posts\/3542\/revisions"}],"predecessor-version":[{"id":3543,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/posts\/3542\/revisions\/3543"}],"wp:attachment":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/media?parent=3542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/categories?post=3542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/tags?post=3542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}