JavaScript is a programming language

In contrast with HTML and CSS, JavaScript is a programming language.

We know that HTML is a markup language. We can use tags to construct a HTML file.

But what can we do with a programming language that cannot be done with a markup?

The answer is that a programming language can:

  • Take steps and actions in a sequence
  • Do looping ( do thing repetitively)
  • Make decisions based on Data