JavaScript 101

Introduction

JavaScript: JavaScript is a computer language that is used inside your web browser.

How to use JavaScript in our website. We can use JavaScript in our web site by adding <script> tag in <head> section of HTML Document. JavaScript is browser language which will allow user to make changes in your HTML Document dynamically or Run-time.

Nowadays, it is most popular and without it web  not possible. There are so many frameworks are available in market for free from that you can minimize the code and optimize the performance of solution.

JavaScript framework:

  • jQuery
  • Prototype
  • ExtJS
  • Sencha Touch
  • jQuery Mobile

How to use JavaScript:

<html>
<head>
<script type="text/javascript">
alert("Hello JavaScript");
</script>
</head>
<body>
This is demo for JavaScript.
</body>
</html>

Table of Contents (Coming Soon)

  • Getting Started
  • Running Code
  • Syntax Basics
  • Types
  • Operators
  • Conditional Code
  • Loops
  • Reserved Words
  • Arrays
  • Objects
  • Functions
  • Testing Type
  • The “this” Keyword
  • Scope
  • Closures
Advertisements