IT3215 | Programming Methods in Computer Science - Capella university
IT3215 Introduction to JavaScript Unit 01 Discussion DQ1 Getting Started With JavaScript JavaScript has been one of the most popular scripting languages for dynamic interactivity. It is a completely different language from HTML5 and CSS3, and it can be challenging for those without programming experience to begin. Research and describe some tips for someone new to JavaScript to get started. In particular, focus on at least two of the following points while providing sample code (with
comments) for each:
Explain how different browsers handle JavaScript code. What considerations must be made when developing for different browsers? Describe the use of JavaScript comments, including the process of "commenting out" portions of JavaScript code. Explain the primary rules for creating a JavaScript identifier. Explain the use of variable declarations and assignment statements with numeric, string, and Boolean data. Explain the syntax for referring to a method or property of an object. Explain the issue of cross-browser compatibility as it relates to JavaScript code. Describe the creation and use of event handlers, including an event handler for the load event of the window object and how the HTML and JavaScript sections work together using the DOM. Describe how the process flow for form submissions works between HTML, JavaScript, and a server-side language like PHP. Response Guidelines Comment on the post of at least two other learners. Offer insights, solutions, examples, or opinions that add depth and value to the conversation. Note regarding discussions in this course: The discussion topic should determine the length of your post, however, a minimum of 150 words is recommended. Refer to the Discussion Participation Scoring Guide for post expectations. Make your initial posts by Wednesday to allow time sufficient for peers to respond. The expectation within the course discussions is to respond to at least two posts by the end of the unit, but it is highly recommended that you extend the dialog further. Responding over multiple days will help stimulate a lively discussion. Learning Components This
activity will help you achieve the following learning components:
Study the different variable data types. Examine the process flow of form submissions. Understand the basic concepts of the DOM and how HTML and the JavaScript sections of the DOM work together. View examples of effective JavaScript comments that describe and explain variables and functions. Resources
Discussion
Participation Scoring Guide. Toggle Drawer