CoderFunda
  • Home
  • About us
    • Contact Us
    • Disclaimer
    • Privacy Policy
    • About us
  • Home
  • Php
  • HTML
  • CSS
  • JavaScript
    • JavaScript
    • Jquery
    • JqueryUI
    • Stock
  • SQL
  • Vue.Js
  • Python
  • Wordpress
  • C++
    • C++
    • C
  • Laravel
    • Laravel
      • Overview
      • Namespaces
      • Middleware
      • Routing
      • Configuration
      • Application Structure
      • Installation
    • Overview
  • DBMS
    • DBMS
      • PL/SQL
      • SQLite
      • MongoDB
      • Cassandra
      • MySQL
      • Oracle
      • CouchDB
      • Neo4j
      • DB2
      • Quiz
    • Overview
  • Entertainment
    • TV Series Update
    • Movie Review
    • Movie Review
  • More
    • Vue. Js
    • Php Question
    • Php Interview Question
    • Laravel Interview Question
    • SQL Interview Question
    • IAS Interview Question
    • PCS Interview Question
    • Technology
    • Other

31 March, 2022

JavaScript Tutorial

 Programing Coderfunda     March 31, 2022     JavaScript     No comments   

 

Learn JavaScript Tutorial

JavaScript Tutorial

Our JavaScript Tutorial is designed for beginners and professionals both. JavaScript is used to create client-side dynamic pages.

JavaScript is an object-based scripting language which is lightweight and cross-platform.

JavaScript is not a compiled language, but it is a translated language. The JavaScript Translator (embedded in the browser) is responsible for translating the JavaScript code for the web browser.

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.


Although, JavaScript has no connectivity with Java programming language. The name was suggested and provided in the times when Java was gaining popularity in the market. In addition to web browsers, databases such as CouchDB and MongoDB uses JavaScript as their scripting and query language.

Features of JavaScript

There are following features of JavaScript:

  1. All popular web browsers support JavaScript as they provide built-in execution environments.
  2. JavaScript follows the syntax and structure of the C programming language. Thus, it is a structured programming language.
  3. JavaScript is a weakly typed language, where certain types are implicitly cast (depending on the operation).
  4. JavaScript is an object-oriented programming language that uses prototypes rather than using classes for inheritance.
  5. It is a light-weighted and interpreted language.
  6. It is a case-sensitive language.
  7. JavaScript is supportable in several operating systems including, Windows, macOS, etc.
  8. It provides good control to the users over the web browsers.

History of JavaScript

In 1993, Mosaic, the first popular web browser, came into existence. In the year 1994, Netscape was founded by Marc Andreessen. He realized that the web needed to become more dynamic. Thus, a 'glue language' was believed to be provided to HTML to make web designing easy for designers and part-time programmers. Consequently, in 1995, the company recruited Brendan Eich intending to implement and embed Scheme programming language to the browser. But, before Brendan could start, the company merged with Sun Microsystems for adding Java into its Navigator so that it could compete with Microsoft over the web technologies and platforms. Now, two languages were there: Java and the scripting language. Further, Netscape decided to give a similar name to the scripting language as Java's. It led to 'Javascript'. Finally, in May 1995, Marc Andreessen coined the first code of Javascript named 'Mocha'. Later, the marketing team replaced the name with 'LiveScript'. But, due to trademark reasons and certain other reasons, in December 1995, the language was finally renamed to 'JavaScript'. From then, JavaScript came into existence.

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.

JavaScript Example

  1. <script>  
  2. document.write("Hello JavaScript by JavaScript");  
  3. </script>  
1

A detailed explanation of first JavaScript example is given in next chapter.


JavaScript Index


JavaScript Tutorial

  • JavaScript Introduction
  • JavaScript Example
  • External JavaScript

JavaScript Basics

  • JavaScript Comment
  • JavaScript Variable
  • JavaScript Global Variable
  • JavaScript Data Types
  • JavaScript Operators
  • JavaScript If Statement
  • JavaScript Switch
  • JavaScript Loop
  • JavaScript Function

JavaScript Objects

  • JavaScript Object
  • JavaScript Array
  • JavaScript String
  • JavaScript Date
  • JavaScript Math
  • JavaScript Number
  • JavaScript Boolean
  • JavaScript DataView
  • JavaScript Function
  • JavaScript handler
  • JavaScript JSON
  • JavaScript Number
  • JavaScript Reflect
  • JavaScript RegExp
  • JavaScript Symbol

JavaScript BOM

  • Browser Objects
  • 1) Window Object
  • 2) History Object
  • 3) Navigator Object
  • 4) Screen Object

JavaScript DOM

  • 5) Document Object
  • getElementById
  • getElementsByName
  • getElementsByTagName
  • JavaScript innerHTML property
  • JavaScript innerText property

JavaScript Validation

  • JavaScript form validation
  • JavaScript email validation

JavaScript OOPs

  • JavaScript Class
  • JavaScript Object
  • JavaScript Prototype
  • JavaScript constructor Method
  • JavaScript static Method
  • JavaScript Encapsulation
  • JavaScript Inheritance
  • JavaScript Polymorphism
  • JavaScript Abstraction

JavaScript Cookies

  • JavaScript Cookies
  • Cookie Attributes
  • Cookie with multiple Name
  • Deleting Cookies

JavaScript Events

    HTML/DOM Events

JavaScript Misc

  • JavaScript this Keyword
  • JavaScript Debugging
  • JavaScript Hoisting
  • JavaScript Strict Mode

JavaScript Advance

  • JavaScript TypedArray
  • JavaScript Set
  • JavaScript Map
  • JavaScript WeakSet
  • JavaScript WeakMap

Interview Questions

  • JavaScript Interview Questions

JavaScript Methods

JavaScript Array Object

  • JavaScript Array
  • Array concat() method
  • Array copywithin() method
  • Array every() method
  • Array fill() method
  • Array filter() method
  • Array find() method
  • Array findIndex() method
  • Array forEach() method
  • Array includes() method
  • Array indexOf() method
  • Array join() method
  • Array lastIndexOf() method
  • Array map() method
  • Array pop() method
  • Array push() method
  • Array reverse() method
  • Array shift() method
  • Array slice() method
  • Array sort() method
  • Array splice() method
  • Array unshift() method

JavaScript DataView Object

  • JavaScript DataView
  • DataView getFloat32() method
  • DataView getFloat64() method
  • DataView getInt8() method
  • DataView getInt16() method
  • DataView getInt32() method
  • DataView getUint8() method
  • DataView getUint16() method
  • DataView getUint32() method

JavaScript Function Object

  • JavaScript Function
  • Function apply() method
  • Function bind() method
  • Function call() method
  • Function toString() method

JavaScript Date Object

  • JavaScript Date
  • date getDate() method
  • date getDay() method
  • date getFullYears() method
  • date getHours() method
  • date getMilliseconds() method
  • date getMinutes() method
  • date getMonth() method
  • date getSeconds() method
  • date getUTCDate() method
  • date getUTCDay() method
  • date getUTCFullYears() method
  • date getUTCHours() method
  • date getUTCMinutes() method
  • date getUTCMonth() method
  • date getUTCSeconds() method
  • date setDate() method
  • date setDay() method
  • date setFullYears() method
  • date setHours() method
  • date setMilliseconds() method
  • date setMinutes() method
  • date setMonth() method
  • date setSeconds() method
  • date setUTCDate() method
  • date setUTCDay() method
  • date setUTCFullYears() method
  • date setUTCHours() method
  • date setUTCMilliseconds() method
  • date setUTCMinutes() method
  • date setUTCMonth() method
  • date setUTCSeconds() method
  • date toDateString() method
  • date toISOString() method
  • date toJSON() method
  • date toString() method
  • date toTimeString() method
  • date toUTCString() method
  • date valueOf() method

JavaScript handler Object

  • JavaScript handler
  • handler apply() method
  • handler construct() method
  • handler defineProperty() method
  • handler deleteProperty() method
  • handler get() method
  • handler getOwnPropertyDescriptor() method
  • handler getPrototypeOf() method
  • handler has() method
  • handler isExtensible() method
  • handler ownKeys() method
  • handler preventExtensions() method
  • handler set() method
  • handler setPrototypeOf() method

JavaScript JSON Object

  • JavaScript JSON
  • JSON.parse() method
  • JSON.stringify() method

JavaScript Map Object

  • JavaScript Map
  • Map clear() method
  • Map delete() method
  • Map entries() method
  • Map forEach() method
  • Map get() method
  • Map has() method
  • Map keys() method
  • Map set() method
  • Map values() method

JavaScript Math Object

  • JavaScript Math
  • Math abs() method
  • Math acos() method
  • Math asin() method
  • Math atan() method
  • Math cbrt() method
  • Math ceil() method
  • Math cos() method
  • Math cosh() method
  • Math exp() method
  • Math floor() method
  • Math hypot() method
  • Math log() method
  • Math max() method
  • Math min() method
  • Math pow() method
  • Math random() method
  • Math round() method
  • Math sign() method
  • Math sin() method
  • Math sinh() method
  • Math sqrt() method
  • Math tan() method
  • Math tanh() method
  • Math trunc() method

JavaScript Number Object

  • JavaScript Number
  • Number isFinite() method
  • Number isInteger() method
  • Number parseFloat() method
  • Number parseInt() method
  • Number toExponential() method
  • Number toFixed() method
  • Number toPrecision() method
  • Number toString() method

JavaScript RegExp Object

  • JavaScript RegExp
  • RegExp.exec() method
  • RegExp.test() method
  • RegExp.toString() method

JavaScript Object

  • JavaScript Object
  • Object.assign() method
  • Object.create() method
  • Object.defineProperty() method
  • Object.defineProperties() method
  • Object.entries() method
  • Object.freeze() method
  • getOwnPropertyDescriptor() method
  • getOwnPropertyDescriptors() method
  • getOwnPropertyNames() method
  • getOwnPropertySymbols() method
  • Object.getPrototypeOf() method
  • Object.is() method
  • preventExtensions() method
  • Object.seal() method
  • Object.setPrototypeOf() method
  • Object.values() method

JavaScript Reflect Object

  • JavaScript Reflect
  • Reflect.apply() method
  • Reflect.construct() method
  • Reflect.defineProperty() method
  • Reflect.deleteProperty() method
  • Reflect.get() method
  • getOwnPropertyDescriptor() method
  • Reflect.getPrototypeOf() method
  • Reflect.has() method
  • Reflect.isExtensible() method
  • Reflect.ownKeys() method
  • preventExtensions() method
  • Reflect.set() method
  • Reflect.setPrototypeOf() method

JavaScript Set Object

  • JavaScript Set
  • Set add() method
  • Set clear() method
  • Set delete() method
  • Set entries() method
  • Set forEach() method
  • Set has() method
  • Set values() method

JavaScript String Object

  • String charAt() method
  • String charAt() method
  • String charCodeAt() method
  • String concat() method
  • String indexOf() method
  • String lastIndexOf() method
  • String search() method
  • String match()
  • String replace() method
  • String substr() method
  • String substring() method
  • String slice() method
  • String toLowerCase() method
  • toLocaleLowerCase() method
  • String toUpperCase() method
  • toLocaleUpperCase() method
  • String toString() method
  • String valueOf() method

JavaScript Symbol Object

  • JavaScript Symbol
  • Symbol.for() method
  • Symbol.keyFor() method
  • Symbol.toString() method

Symbol Property

  • Symbol.hasInstance Property
  • isConcatSpreadable Property
  • Symbol.match Property
  • Symbol.prototype Property
  • Symbol.replace Property
  • Symbol.search Property
  • Symbol.split Property
  • Symbol.toStringTag Property
  • Symbol.unscopables Property

JavaScript TypedArray Object

  • JavaScript TypedArray
  • TypedArray copyWithin() method
  • TypedArray entries() method
  • TypedArray every() method
  • TypedArray fill() method
  • TypedArray filter() method
  • TypedArray find() method
  • TypedArray findIndex() method
  • TypedArray forEach() method
  • TypedArray includes() method
  • TypedArray indexof() method
  • TypedArray join() method
  • TypedArray Keys() method
  • TypedArray lastIndexof() method
  • TypedArray map() method
  • TypedArray reduce() method
  • TypedArray reduceRight() method
  • TypedArray reverse() method
  • TypedArray set() method
  • TypedArray Slice() method
  • TypedArray some() method
  • TypedArray sort() method
  • TypedArray subarray() method
  • TypedArray values() method
  • toLocaleString() method
  • TypedArray toString() method

JavaScript WeakMap Object

  • JavaScript WeakMap
  • WeakMap delete() method
  • WeakMap get() method
  • WeakMap has() method
  • WeakMap set() method

JavaScript WeakSet Object

  • JavaScript WeakSet
  • WeakSet add() method
  • WeakSet delete() method
  • WeakSet has() method
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook

Related Posts:

  • Introduction to JavaScript ArraysJavaScript Arrays in HindiArrays एक ही तरह की values का collection होता है। एक तरह की value से मतलब है या तो केवल strings या केवल integers या फिर flo… Read More
  • Introduction to JavaScript Strings  JavaScript Strings JavaScript में strings objects होती है। एक string object में characters की sequence store की जाती है। जैसे की Best Hin… Read More
  • Introduction to JavaScript Control Statements JavaScript Control Statements In HindiControl statements program के flow को control करते है। जैसे की आप control statements की मदद से choose कर सकते ह… Read More
  • JavaScript Operators JavaScript Operators Variables में values सिर्फ उन्हें बाद में display करवाने के लिए ही नहीं बल्कि इसलिए भी store की जाती है  ताकि उनके साथ… Read More
  • JavaScript Variables Introduction to JavaScript Variables यदि आपको कोई value store करनी है तो इसके लिए आपको variable create करना होता है। ये concept सभी programming … Read More
Newer Post Older Post Home

0 comments:

Post a Comment

Thanks

Meta

Popular Posts

  • Spring boot app (error: method getFirst()) failed to run at local machine, but can run on server
    The Spring boot app can run on the online server. Now, we want to replicate the same app at the local machine but the Spring boot jar file f...
  • Log activity in a Laravel app with Spatie/Laravel-Activitylog
      Requirements This package needs PHP 8.1+ and Laravel 9.0 or higher. The latest version of this package needs PHP 8.2+ and Laravel 8 or hig...
  • Failed to install 'cordova-plugin-firebase': CordovaError: Uh oh
    I had follow these steps to install an configure firebase to my cordova project for cloud messaging. https://medium.com/@felipepucinelli/how...
  • Laravel auth login with phone or email
          <?php     Laravel auth login with phone or email     <? php     namespace App \ Http \ Controllers \ Auth ;         use ...
  • Cashier package and Blade files
    I'm a little confused about this Cashier package. I installed it using the Laravel website (with composer), but noticed there's no...

Categories

  • Ajax (26)
  • Bootstrap (30)
  • DBMS (42)
  • HTML (12)
  • HTML5 (45)
  • JavaScript (10)
  • Jquery (34)
  • Jquery UI (2)
  • JqueryUI (32)
  • Laravel (1017)
  • Laravel Tutorials (23)
  • Laravel-Question (6)
  • Magento (9)
  • Magento 2 (95)
  • MariaDB (1)
  • MySql Tutorial (2)
  • PHP-Interview-Questions (3)
  • Php Question (13)
  • Python (36)
  • RDBMS (13)
  • SQL Tutorial (79)
  • Vue.js Tutorial (68)
  • Wordpress (150)
  • Wordpress Theme (3)
  • codeigniter (108)
  • oops (4)
  • php (853)

Social Media Links

  • Follow on Twitter
  • Like on Facebook
  • Subscribe on Youtube
  • Follow on Instagram

Pages

  • Home
  • Contact Us
  • Privacy Policy
  • About us

Blog Archive

  • September (100)
  • August (50)
  • July (56)
  • June (46)
  • May (59)
  • April (50)
  • March (60)
  • February (42)
  • January (53)
  • December (58)
  • November (61)
  • October (39)
  • September (36)
  • August (36)
  • July (34)
  • June (34)
  • May (36)
  • April (29)
  • March (82)
  • February (1)
  • January (8)
  • December (14)
  • November (41)
  • October (13)
  • September (5)
  • August (48)
  • July (9)
  • June (6)
  • May (119)
  • April (259)
  • March (122)
  • February (368)
  • January (33)
  • October (2)
  • July (11)
  • June (29)
  • May (25)
  • April (168)
  • March (93)
  • February (60)
  • January (28)
  • December (195)
  • November (24)
  • October (40)
  • September (55)
  • August (6)
  • July (48)
  • May (2)
  • January (2)
  • July (6)
  • June (6)
  • February (17)
  • January (69)
  • December (122)
  • November (56)
  • October (92)
  • September (76)
  • August (6)

  • Failed to install 'cordova-plugin-firebase': CordovaError: Uh oh - 9/21/2024
  • pyspark XPath Query Returns Lists Omitting Missing Values Instead of Including None - 9/20/2024
  • SQL REPL from within Python/Sqlalchemy/Psychopg2 - 9/20/2024
  • MySql Explain with Tobias Petry - 9/20/2024
  • How to combine information from different devices into one common abstract virtual disk? [closed] - 9/20/2024

Laravel News

  • Arr::from() Method in Laravel 12.14 - 5/14/2025
  • Streamline API Resources with Laravel's Fluent Methods - 5/13/2025
  • Customize URL Handling with Laravel's Macroable URI Class - 5/13/2025
  • Use Passkeys in Your Laravel App - 5/13/2025
  • Laravel Seeder Generator - 5/12/2025

Copyright © 2025 CoderFunda | Powered by Blogger
Design by Coderfunda | Blogger Theme by Coderfunda | Distributed By Coderfunda