Javascript can change the content of HTML element.
Javascript can change the attribute of HTML element.
For example the src attribute of the <img> element.
Javascript can change the CSS style of HTML element.
Javascript can hide and show HTML element.