What Is JavaScript?
- JavaScript is a high-level un-typed and interpreted programming language.
- Despite some naming, synthetic and standard library similarities, JavaScript and Java are otherwise unrelated.
History of JavaScript:
- JavaScript was created in 10 days in May 1995 by Brandon Eich then working at Netscape and now of Mozilla.

- The original name of JavaScript was Mocha (a name chosen by the founder of Netscape).
- In September 1995 name changed to live script.
- Again in December 1995 name change to JavaScript.
Why JavaScript?
- JavaScript is used in web pages to add functionality validate forms communicating with the server and read-write HTML elements.
- JavaScript is a client side scripting language.
JavaScript interpreter:
- As a browser goes through JavaScript, it to a special program called interpreter which converts the JavaScript to the machine code your computer understands.
- Browsers come equipped with JavaScript interpreters.
Where to write code?
- In the same HTML file.
- In a separate file that can be embedded into HTML file.
In HTML file:
<script type="text/javascript">
....
....
</script>
<script type="text/javascript">
....
....
</script>
In External file:
External script cannot contain the <script></script> tags!.
Regards,
Hints 4 You.
Thank you for giving me your precious time.
We will meet again via the next post.
*Features:
0 Comments
Please do not enter any spam Link in the comment box. If you have any queries, Let me know!