Learn JavaScript with Videos

JavaScript is a Scripting Language which is used to create a Client-Side Scripts. Client-side scripts are run in Web Browser while Server-side scripts like PHP are execute on a Server. It is used to create dynamic and interactive Web Pages for our requirements. For HTML Developers JavaScript helps in building HTML systems that interact with the user because it can convert your simple static HTML Web page into a dynamic page. It is supports all mostly use-able browsers like Mozilla Fire Fox and Chrome etc. JavaScript is a Programming Language and very useful. We can set date and time on our web pages using it’s Standard library of objects. It increase users interactivity. It is not static language like HTML that’s why we can perform mathematical calculations, checking forms, develop simple games, create animations, Show pop up boxes and ads on websites. We can make calculators and counters in JavaScript. Sometimes internet explorer create problems to show webpage accurately but in JavaScript internet explorer shows output accurately. click here to learn how to create simple calculator.

Your Should Already Know

Simple Understanding of the internet and (WWW) world-wide-web.

Good Understanding of the HTML (Hypertext Markup Language) and CSS (Cascading Style Sheet)

javascript

Working With JavaScript

The code is typically embed into a HTML document using the SCRIPT Tag. We can embed several scripts into a single document by provided we enclose each script with a SCRIPT Tag. We can insert this language statements anywhere in document. When browser find <Script> Tag it read the content line by line until the closing </Script> Tag reached. If any error are detected by checking statements they are displayed as errors in a series of alert boxes on screen. If there are no errors then statement are compiled so that the machine can understand them. First time the code can disturb You because it is little bit tricky but if  You will practice and learn deeply than You can embed it on Your Web Pages.

Embedding Into Web Pages

  • We can insert the statement into a HTML document in these ways:
  • Embed the statements directly in document using tag of <Script>.
  • Link a JavaScript source file to document of HTML.
  • Use It’s expressions with HTML Tag attribute value.
  • Use event handlers within certain other HTML Tags.

What You Will Learn:

  • Introduction
  • Printing Method
  • Alert Boxes
  • Comments
  • Data Types
  • Variable Declaration
  • Inserting HTML Tags
  • Popup Boxes
  • Arithmetic Operators
  • Assigning Operators
  • If Statement
  • Comparison Operators
  • Else If Statement
  • Logical Operators
  • Nested If Or Else
  • Loop
  • Nested Loop
  • While Loop
  • Switch Statement
  • Do-while Loop
  • Custom Functions
  • Multiple parameters
  • Making External File
  • Return Function
  • Simple Calculation
  • Event Handlers

Client Side JavaScript:

When the client requesting a page of HTML the server checking the page for embedded scripts. If a client-side script is embedded in the page then server forward full content of HTML document JavaScript statements and HTML content. When browser receives the document it compile the HTML and JavaScript statements without any type of interaction with the server.


Ahsan Ali

Mohammad Ahsan Ali is a Web Designer, Web Developer and Online Instructor working as online Computer Instructor since last 1 year. My Mission is that conveys knowledge to everyone and want to make everyone successful in their life.

Leave a Reply

Your email address will not be published. Required fields are marked *