What can JavaScript do?

Javascript can change HTML content.

JavaScript can alter HTML attribute values.

In this example, JavaScript alters the value of the source attribute of an image.

JavaScript can change the style of HTML elements, also.



JavaScript is able to hide HTML elements as well.