Introduction To Programming
Programming is a way to talk to computers A language like Hindi,
English or can be used to talk to a human but for computer we need straight forward
instructions.
What is
EcmaScript
EcmaScript is a standard on which javaScript is based it was
create to ensure that different documents on javaScript are actually talking
about the same language.
Javascript & EcmaScript can almost always be used
interchangeally javascript is
very letaral in what it allow.
What is
javascript
JavaScript
(js) is a light-weight object-oriented programming language which is used by
several websites for scripting the webpages. It is an interpreted, full-fledged
programming language that enables dynamic interactivity on websites when
applied to an HTML document. It was introduced in the year 1995 for adding
programs to the webpages in the Netscape Navigator browser. Since then, it has
been adopted by all other graphical web browsers. With JavaScript, users can
build modern web applications to interact directly without reloading the page
every time. The traditional website uses js to provide several forms of
interactivity and simplicity.
How to execute javaScript
Javascript
can be executed right inside one’s browser you can open the javascript console and strat writing
javascript there another way to execute javascript is a runtime like Node.js which can be
instralled and used to run javascript
code.
Yet
another way to executejavascript is by inserting it inside <script> tag
of an html document.
Features of javscript
1.It
is a case-sensitive language
2.it
is hight weighted and interpreted language.
3.it
is provide good control to the user over the web browser.
4.
javascript is object-oriented programming language that prototype rathes then
using classessfor inheritance.
Application of JavaScript
JavaScript is used to create
interactive websites. It is mainly used for:
- Client-side validation,
- Dynamic drop-down menus,
- Displaying date and time,
- Displaying pop-up windows and dialog boxes
(like an alert dialog box, confirm dialog box and prompt dialog box),
- Displaying clocks etc.
0 Comments