DONATE  
MENU
JAVASCRIPT
AJAX
HTML
JSON

JavaScript Tutorials

INTRODUCTION

» Introduction to JavaScript

» Practice IT Editor

» JavaScript Example

» JavaScript Placement

» JavaScript Syntax

» JavaScript Statements

» JavaScript Input

» JavaScript Output

» JavaScript Comments

» JavaScript Variables

» Variables' Scope

» JavaScript Operators

» JS Expressions & Concatenation

» JavaScript Data Type

» JavaScript Numbers

» Number Object

» JavaScript Strings

» String Object

» JavaScript Booleans

» Boolean Object

» JavaScript Functions

» JavaScript Arrays

» Array Object - Properties

» Array Object - Methods

» JavaScript Objects

» JavaScript Undefined

» JavaScript Nulls

CONDITIONAL TESTING

» If Statement

» If Else Statement

» JavaScript Ternary Operator

» Switch Statement

LOOPS

» For Loops

» While Loops

» Break & Continue

» For...In Loops

» do...while Loop

FUNCTIONS

» JavaScript Functions

» Creating Functions

» Functions' Parameters

» Functions' Arguments

» Function Invocation

» The Return Keyword

» The Arguments Object

» Callback Functions

» Arrow Functions

ARRAYS

» JavaScript Arrays

» Creating Arrays

» Accessing Arrays

» Looping Arrays

» Multi - dimensional Arrays

OBJECTS

» JavaScript Objects

» Creating Objects

» Prototype Definition

» Accessing Objects

» The this Keyword

AJAX

» Introduction to AJAX

JSON

» Introduction to JSON

JAVASCRIPT DATES

» The Date Object

» Date Methods

» Timing (SetInterval & SetTimeout)

MATH OBJECT

» Math Object

» Math Methods

HTML / JS DOM

» DOM Introduction

» Accessing HTML Elements in DOM

» Get And Change Elements' Contents & Values

» Change Styling - DOM CSS

» DOM Attributes

» JavaScript Event Listeners

» DOM Event Listeners

» JS Events

MISCELLANEOUS

» JS Strict Mode

» JavaScript Hoisting

» JavaScript let keyword

» Reserved Keywords

» JS Best Practices

» JavaScript vs ECMAScript

JAVASCRIPT EXAMPLES

» JavaScript Calculator

.. » JavaScript » Introduction » Introduction to JavaScript
Share Tweet WhatsApp

Introduction to JavaScript

KeyNote: You should have learnt HTML and CSS before proceeding with this tutorials on JavaScript.
JavaScript is a client - side web programming language that is used in instructing a website on how it should behave with its users. As a client side programming language, its interpretation lies with the web visitor's browser and not the computer where your website lives. JavaScript
JavaScript
Unlike HTML, a website may not necessarily use JavaScript but then, a whole lot of websites use JavaScript because JavaScript enables you to create website that are very interactive and user friendly. Brendan Eich - Founder of JavaScript
Brendan Eich - Founder of JavaScript
In order to properly create interactive webpages, JavaScript can access all the HTML elements that exists in a webpage. With this power, it can then get whatever that is contained in any HTML element and even change it without the webpage reloading. This means you can practically change the entire content or a part of a webpage without the webpage reloading. isn't that cool? Then again, with its AJAX technology which is supported on all browsers, you can practically communicate with a website server's (a computer where a website lives) file in order to do just anything like get the content of the file or perform just any operation on the site's server and database without a web client noticing. The truth is that, even here at stackbeginner.com, JavaScript is boss. Have you ever tried commenting on the various tutorials and then, your comment is submitted without the webpage reloading? Have you ever tried the "TEST YOURSELF" quiz where you have various questions and your answer being marked immediately you submit a choice without the webpage reloading? Those are the jobs of JavaScript and its big technology, AJAX. WHAT CAN YOU USE JAVASCRIPT FOR?
  • General web programming that can be interpreted by your web clients' browsers.
  • Accessing all HTML elements, their content or values and attributes.
  • Updating any part of a webpage with new elements, attributes, contents and values.
  • Communication with a web server.
  • Dynamically updating a web page with data from a web server without the webpage reloading.
  • A whole lot others...
As a web developer, JavaScript is indeed a language you should have among your list of web languages after acquiring basic knowledge in HTML and CSS. For example, after creating a beautiful button with HTML and CSS in a webpage, JavaScript will enable you to add functionality to that button so that when clicked, your button does not just look great but does something. JavaScript Tutorial In this tutorial on JavaScript, you will get acquainted with all you need to know to kick start your web development with JavaScript. SUMMARY
  1. JavaScript is a client - side web programming language. This is because JavaScript interpretation lies with a browser and not a web server. This is why you may hear of JavaScript enabled browsers and those that do not enable JavaScript.
  2. We use JavaScript to instruct a webpage to behave interactively with our users.
  3. It's not compulsory for your website to use JavaScript but then, a lot of websites use JavaScript to ensure their web users have a great experience when they visit their websites.
  4. A client is same thing as a web user or web visitor. They are the people that visit and use a webpage or website.
  5. A server is any device or computer where your website or webpage lives or exists.
  6. JavaScript also has a technology that helps a website communicate with a server file without the client noticing. This is why Facebook can update their database when you like or dislike a post without the webpage reloading.
  7. You should have a basic knowledge of HTML and CSS before attempting to learn JavaScript.
Take a short quiz on Introduction to JavaScript.
Ask a question or tell us if Introduction to JavaScript is easy or not.
cent?

Join our 1,090 subscribers to receive tutorials' updates!

  We won't spam your mail box. We hate it.





StackBeginner 2021 © Joseph Omamode