Week 4

Making websites interactive with JavaScript

At this point, we’ve covered quite a lot of syntax with JavaScript, so that we can pretty much express anything in code (albeit sometimes inefficiently). In week 4, we will start to use JavaScript in tandem with the HTML and CSS that we learned about in week 0 and week 1 to add some interactivity to our websites.

In this week’s lecture, you’ll learn about the Document Object Model (DOM), and you’ll practice at manipulating elements on the screen with JavaScript. We’ll also cover events, which allow us to run JavaScript code every time something happens (e.g. every time a user presses a button).