From the course: Web Programming Foundations

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

JavaScript

JavaScript

From the course: Web Programming Foundations

Start my 1-month free trial

JavaScript

- [Instructor] JavaScript is the third markup language used to make up the front end of a web document. For simplicity, I like to call JavaScript the interactive layer that sits on top of HTML and CSS. JavaScript is a scripting language that runs in the browser and interacts with the HTML markup and CSS rules to change what you see and what you can do. What sets JavaScript apart from other web programming languages like PHP and Ruby is it executes in the browser rather than on the server. In other words, the interactivity happens locally on whatever device is accessing the document, and in many cases it can run even if the internet and the connection to the web server is cut. Traditionally, JavaScript loads into the browser to add interactive behaviors and make changes to DOM nodes within the browser instance. This could be anything from a simple sliding animation or hide-show behavior, to something much more complex, like loading all new content into the document or changing the…

Contents