JS Variable

Programming is about manipulating data / value. Data / Value is stored in variable. To create variable in javascript using keyword var . For example var myData = 1; There are 7 data type in Javascript : Number String Boolean null undefined Array Object Number String Boolean Null Undefined Array Object

JS Input Output

Beside using html and javascript file, to test javascript you can use tools in Firefox or Chrome Web Browser. In firefox just click : Tools -> Web Developer -> Web Console. Then type alert(“Alert From Web Console”) . In Chrome click : icon in the right top -> More Tools -> Developer Tools -> Console […]

JS Introduction

Web Browser programs are written in JavaScript. JavaScript programming language is used to run program in web browser. With JavaScript you can control how a website behave like changing color , user validation , animation, image slider , make game etc. Twitter , Facebook , Instagram are samples website which use a lot javascript, With […]