What can JavaScript do?

These sections are following the JavaScript introduction in w3schools. However, all assets are of my own creation.

JavaScript in Body

This is a default paragraph

What else can JavaScript Do?

JavaScript can accept both single and double quotes as string literals.
You can also set the event the button is listening for.

JavaScript changing Images

JavaScript can change html attribute values.
This means that it is not limited to just text. You can change the src (source) attribute of an image tag.

doodled happy face

JavaScript changing HTML styles

I made Mike in a program called Blender. These images are just rendered stills from a full animation.
Blender is an excellent tool for both 2D and 3D animation, however, it is easier to draw images in Procreate on the ipad

Hiding HTML elements

This is a paragraph. If this works, there will be a button that makes it go poof. This is a secret message. If you want to hide it, press one of the buttons.