
-First of all:
you should know the relationship between JavaScript and HTML where JavaScript is a way to make the events in the HTML page turn it to actions.
get elements from HTML page you can see this article: JavaScript and HTML
Now,after we get our element from the HTML page we want to use it and change it for example we'll...