If HTML is the skeleton and CSS is the clothing, JavaScript (JS) is the muscles! It is the programming language that lets websites do things—like opening a menu, playing a game, or showing an alert.
[Image illustrating how HTML CSS and JavaScript work together]One of the easiest ways to see JavaScript in action is by making the browser pop up an alert box. You can actually trigger JavaScript directly inside an HTML button using the onclick attribute.
(If you write the code above in your own file and click the button, your browser will say "Go Eagles!")
If you want to make a gallery of pictures that slides to the next picture when you click an arrow, which language would you use to create that sliding action?