JavaScript First Program

Prev Tutorial Next Tutorial

JavaScript First Program

Javascript simple example to verify age of any person, if age is greater than 18 show message adult otherwise show under 18

JavaScript Example to verify age

Example JavaScript

function verify(){
var no;
alert("Under 18");
alert("You are Adult");
Enter your age:<input id="age"><br />
<button onclick="verify()">Click me</button>


Enter your age:

Prev Tutorial Next Tutorial

Google Advertisements

Download Projects

Google Adsense Advertisements

Buy 3 Year Old Domain,, @$200

Buy This Ad Space @$50 per Month, Ad Size 300X250 Contact on: WhatsApp no. 8882538826

Yahoo Advertisements