JavaScript — A Brief Introduction

JavaScript, also known as JScript, is a scripting language that adheres to the ECMA standards. JavaScript is object-oriented, high-level, and multi-browser/environmental dependent. It also has curly-brace syntax, weakly typed, and prototype-based architecture. JavaScript's code is executed within an environment which is JavaScript compatible, such as on the Mac, Windows, Linux, or other browsers with JavaScript support.

In web applications, there are two ways to run your code, run the JavaScript in the web browser or JavaScript in another web page. Some examples of web pages that use JavaScript are the html, asp, php, and mysite. JavaScript can be integrated into HTML documents, making it easier to create interactive web pages. Some web browsers do not support the javascript language, in which case JavaScript is not allowed. However, most web browsers do, so you can use javascript with these web pages.

A JavaScript example is the smiley document object. Smileyit is a small application that displays the time of day on a person’s desktop. To use this application you will have to include the javascript functions: date, calculateimes, getw typeloc, getdate, asctime, createition, call, log, time, string, uuchek, strt, and votime. These functions return true when the function is executed.

The create paragraph function creates a paragraph of text using the javascript expression ‘button’ and a colon. Let para be the current page number. Let b be the text you want to create. Using the JavaScript functions the following markup is created:’button’ |’| create paragraph | create |’button’} There are many more examples of how to use these javascript functions in your document. Another simple way to create interactive web pages using javascript is the Function composition tree. Here you will find some ready made code for creating the following tree of javascript commands. This will allow you to create interactive web pages very easily. This tree can be used in conjunction with an existing template or created by inserting the code in the blank place.

JavaScript is an object-oriented scripting language, so you can build complex web applications and create documents and even web pages with just a few lines of code. The language has matured over the years and there are many different versions of it that can be used with most web browsers. One of the benefits of javascript is that it allows you to create reusable modules that can be used in other applications. For instance the create paragraph function can be combined with an existing HTML feature known as the defer attribute, which controls whether or not a new element is generated when an existing one is removed.

We provide best training in Python , Machine Learning, Data Science and much more in Bangalore.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store