CHAPTER 7JavaScript and CSS

The interaction between JavaScript and CSS is a mainstay of modern JavaScript programming. It is virtually a requirement that all modern web applications use at least some form of dynamic interaction. When they do, the user is able to move faster and waste less time waiting for pages to load. Combining dynamic techniques with the ideas presented in Chapter 6 on events is fundamental to creating a seamless and powerful user experience.

Cascading style sheets are the de facto standard for styling and laying out usable, attractive web pages that still afford you (the developer) the greatest amount of power while providing your users with the least amount of difficulties. Interestingly, when you combine that power with ...

Get Pro JavaScript™ Techniques 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.