Javascript Basics for Beginners

Javascript Basics for Beginners

Javascript Basics for Beginners


javascript basics for beginners,basic understanding of javascript,create a basic webpage with css and javascript,basic html page with javascript,javascript basic for loop


Javascript

It is the combination of both java+html
It is also used for advanced we designing.

Program 1:

<html>
<head>
<title>
welcome
</title>
</head>
<body>
<script>
document.write("arun");
document.write("kumar");
</script>
</body>
</html>


Program 2:

<html>
<head>
<title>
wlecome
</title>
</head>
<body>
<script>
var a,b,c;
a=100;
b=200;
c=a+b;
doument.write("The value of c is:"+c);
</script>
</body>
</html>

Program 3:

<html>
<head>
<title>
welcome
</title>
</head>
<body>
<script>
var a;
a=20;
if(a>=18)
document.write("I am elgible for vote");
</script>
</body>
</html>


Post a Comment

0 Comments