Chapter 1. Getting Set Up
BEFORE WE SET FOOT on JavaScriptâs turf, letâs get a feel for our development environment. First weâre going to set up a page where we can do a little work, then weâre going to have a look at that page through the lens of our browsersâ built-in JavaScript debugging tools, and finally, weâll start making sense of the basic rules of JavaScript syntax.
INCLUDING JAVASCRIPT IN A PAGE
If youâve worked with CSS at all, youâll find that including a script in your page follows more or less the same pattern as including a stylesheet, though with a slightly different syntax and a few small caveats.
Just like ...
Get JavaScript for Web Designers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.