At the beginning of this course we mentioned that JavaScript is the most widely used language on the web. So how can we use JavaScript on a website?

So far, we've only used JavaScript in isolation – not alongside other technologies. Javascript typically gets included with HTML and CSS (which structure and style web pages). All modern browsers know how to run JavaScript if we include it in an HTML and CSS project.

JavaScript also has some special functions to help us access the code inside HTML and CSS so that we can write JavaScript to make that output interactive and dynamic.

In this lesson, we will use the concepts we've learned throughout the course to make an HTML and CSS website dynamic.


If you're unfamiliar with HTML and CSS, you can follow along with this lesson regardless. If you'd like to get a primer before continuing, try our HTML and CSS course here.

Click 'Next' to continue.

Report a Bug
If you see a bug or any other issue with this page, please report it here.