In the example given below,
right now,
the text inside
the h2
is Lightpink.
Change the text to
the name of any
common colour of your choice,
like blue,
green,
or
steelblue.
When you change the text
in the heading, notice that
the colour of the heading text
changes too. Even though you
only changed the text in HTML,
still somehow the text colour
changed. This isn't done
using HTML or CSS.
This is JavaScript!