Home / Tag Archives: javascript

Tag Archives: javascript

Classless Javascript (Composition over Inheritance)

Javascript

A lot has been said about why we don’t need Class syntax in javascript as underneath javascript works on prototypal inheritance unlike other classical inheritance languages such as ruby, python, php, java. And that’s quite true. I think if somebody wants to use OOP in JS then it better be ...

Read More »

Tic Tac Toe Game In JavaScript

js_game

In this post we are discussing about Tic Tac Toe Game using  Javascript . The game is build with Simple Logic & Javascript Implementation. Complete code available for download. <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml”> <head> <title></title> <link href=”TicTacToe.css” rel=”stylesheet” type=”text/css” /> <script src=”jquery-1.9.1.min.js” type=”text/javascript”></script> <script  type=”text/javascript”>   $(document).ready(function ...

Read More »

Where to place JavaScript code in a webpage?

javascript location

There are three ways to place JavaScript code in a webpage that are Inside the head tag Within the body tag In an external file The location choice of head or body is very simple. If you want to have runa script on some event, such as when a user clicks somewhere, then you ...

Read More »

How to check and confirm password using JavaScript?

password in js

JavaScript (JS) is a scripting language .Which was developed by Netscape. JavaScript is used in HTML. Password is important for securing our profile or content on website or webpage. So in below JavaScript code we are discussing about how to Check the Password & Confirm Password with the help of  JavaScript. ...

Read More »

What is JavaScript or JS?

javascript

JavaScript (JS) is a scripting language .Which was developed by Netscape. JavaScript is used in HTML. Main features of JavaScript are as follows: JavaScript(JS) is a lightweight. JavaScript is interpreted programming language. JavaScript is designed for creating network-centric applications. Complementary to and integrated with Java. Complementary to and integrated with ...

Read More »