O'Reilly logo

HTML5: Your visual blueprint™ for designing rich web pages and applications by Adam McDaniel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

EXAMINE JAVASCRIPT CODE

You can use the Chrome Inspector to examine the JavaScript code of any website. You can do so by using the Scripts panel found in the inspector window. When you examine your JavaScript code, it is also possible to review any errors and warnings produced by executing the JavaScript code and then reference back to the code where the error occurred. This is done by using the JavaScript Console panel, a subcomponent of the Chrome Inspector.

This console will also allow you to execute arbitrary JavaScript code, and use it to interact with the DOM components and the elements in your website.

Some websites use JavaScript optimizers and minimizers to make code download and execution more efficient for the web browser. This is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required