Back to the web
On Day 2 you met the trio: HTML (the skeleton), CSS (the clothes) and JavaScript (the behaviour). Before JavaScript can change a page, you need just enough HTML and CSS to build one. Let's go!
HTML: tags
HTML is made of tags in angle brackets. Most come in pairs: an opening tag and a closing tag with a slash. Together with what's between them, that's an element.
Tags can have attributes that add extra information. The two you'll use most from JavaScript are id (a unique name) and class (a group name):