Individual: JavaScript Functions
LaToya Rodgers
Web/401 Web Development
February 4, 2015
Professor Daniel Testerman
Individual JavaScript Functions When thinking of the functions that are needed in order for JavaScript to function, there are several that comes to mind. One first has to understand what JavaScript is; it is an object-oriented computer programming language that is used to create a responsive effect within and between web browsers. An object-oriented program allows the individual to be able to deal with different types of objects. An object-oriented draw program allows the person to draw different types of objects, like; circles, rectangles, squares “JavaScript is an interpreted programming or script language from Netscape” (Rouse, M 2001-2015). JavaScript is used within the bounds of a web pages to enable the user larger functions for example; form submission, interactivity, and animations which gives diversity. JavaScript can also run on a web server to generate HTML documents; therefore making it run as a Server-Side script, however this usually limits the client-side scripts. The functions can be completed by implementing different steps. (Sebesta, R 2013)
What is needed when creating a JavaScript in order to make the application dynamic; is to have the text editor and web browser. The first thing the individual has to do is to add Script Tags. This is done by placing Script Tag in webpage and placing the Java Script code inside. The other option is to place all of the JavaScript code in another file and link it with the Script Tag. In the event that a short code is being used, it can be placed in a script tag. It is strongly suggested to place a large code in JavaScript in a separate file; and link to it. It is also vital that JavaScript be implemented to increase the web page dynamic. There five primitive types which are: number, string, Boolean, undefined, and Null.
References: Boolean, Numbers and String (2015) Retrieved from https://msdn.microsoft.com/en-us/library/ms970169.aspx Corbeli, A. (2015) Creating Dynamic Websites Using JavaScript. Retrieved from http://www.htmlgoodies.com/beyond/javascript/article.php/3776371 Rouse, M. (2001-2015) JavaScript Definition Retrieved from http://searchsoa.techtarget.com/definition/JavaScript Sebesta, R, W. (2013) Programing in the World Wide Web, 7e