JavaScript Tutorials

JavaScript is a lightweight, cross-platform and interpreted scripting language. It is well-known for the development of web pages, many non-browser environments also use it. JavaScript can be used for Client-side developments as well as Server-side developments.

Example:

<!DOCTYPE html>
<html>
  <head>
    <title></title>
  </head>
  <body bgcolor="white">
   <p>Paragraph 1</p>
   <script type="text/javascript">
   document.bgColor ="lightblue";
   </script>
  </body>
<html>

Output:

Features of JavaScript: According to a recent survey conducted by Stack Overflow, JavaScript is the most popular language on earth.
With advances in browser technology and JavaScript having moved into the server with Node.js and other frameworks, JavaScript is capable of so much more. Here are a few things that we can do with JavaScript:



  • JavaScript was created in the first place for DOM manipulation. Earlier websites were mostly static, after JS was created dynamic Web sites were made.
  • Functions in JS are objects. They may have properties and methods just like another object. They can be passed as arguments in other functions.
  • Can handle date and time.
  • Performs Form Validation although the forms are created using HTML.
  • No compiler needed.

‘Recent Articles’ on Javascript

Topics :

More>>

Array:

More>>



 
  
 
 

TypedArray:

More>>

More>>

Date:

More>>

More>>



More>>

More>>

More>>

More>>

More>>

More>>

More>>

More>>

More>>

More>>




My Personal Notes arrow_drop_up


Writing code in comment? Please use ide.geeksforgeeks.org, generate link and share the link here.