Javascript Beginner Part-1

Hi, I am going to introduce some examples on adding javascript with HTML pages. you can add javascript with the help of <script></script> tag within head or body section.

Now, I am going to discuss an external way of adding javascript to our web pages. you have to create one sample.js file and add the link in the main page under the <head></head> area.

Let’s see an example of write function. this function is used to show the data on a webpage. for this you have to see an example below:

Chandan Kumar
Follow Me: