Category: javascript

Creation of Array object in javascript using JSON

<html> <head> <title>Creation of array object in javascript using JSON</title> <style> body {text-align:center;} table ,td {border:1px solid black;padding:5px;} table {width:400px;} </style> <script language=”javascript” > document.writeln(“<h2>JSON

Creating Simple JSON Object with JavaScript

<html> <head> <title>Creating Simple JSON Object with JavaScript</title> <style> body {padding:80px; text-align:center;} </style> <script language=”javascript” >  var JSONObj1 = { “movie”:”Chennai Express”, “year”:2013 };  var

Creating Simple JSON Object with JavaScript

<html> <head> <title>Creating Simple JSON Object with JavaScript</title> <style> body {padding:80px; text-align:center;} </style> <script language=”javascript” >  var JSONObj1 = { “movie”:”Chennai Express”, “year”:2013 };  var

Simple & Clean design of Calculator using JavaScript

 The Code: <!-- Title: Calculator using JavaScript --> <html><head> <!-- --------------CSS Properties for Calculator--------------- --><style type="text/css"> h2{ text-align:center; color: red; font-size: 22px;} .btn {width: 60px; height:50px;font-weight:bold;font-size: