recent posts

JavaScript Tutorial | Introduction part 1





Hi, I'm Golam Rabbani. Today I will discuss about JavaScript. This is JavaScript tutorial.

Greetings! How are you all? Hope everyone is well.

What is javascript?
Javascript is a very popular web programming language from the before.
Easily organize a web page with a dynamic way. Javascript's contribution is much more.
Javascript is briefly called JS. The script has many popular sites that have been built with. Javascript is usually handled by HTML and CSS.

So let's see an example with javascript.

<p id="sum"></p>
<script type="text/javascript">
 var x, y, z;
 x = 10;
 y = 20;
 z = x + y;
 document.getElementById("sum").innerHTML="Result " + z + ".";  
</script>

Output:
Result 30.

Here, var means declare the variable name.

I hope everyone understands JavaScript related issues.
Thanks to everyone.
JavaScript Tutorial | Introduction part 1 JavaScript Tutorial | Introduction part 1 Reviewed by Golam Rabbani on November 17, 2018 Rating: 5

No comments:

top navigation

Powered by Blogger.