Why JavaScript
So far, we use HTML and CSS to describe webpages
HTML/CSS have limitations:
-
- No loops
-
-
ex. Drawing a set of images stored in a directory
-
- No conditionals
-
-
ex. Specific action when the user click on a button
JavaScript \(\Rightarrow\) A real programming language allowing to add dynamic responses to webpages
3/41