O'Reilly logo

Drupal 8 for Absolute Beginners by James Barnett

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

CHAPTER 7

image

A JavaScript Primer for Drupal

So now you know what HTML (HyperText Markup Language) and CSS (Cascading Style Sheets) are, and you’ve come to know all the different CSS selectors and HTML elements available to you to create very rich web pages. So now let’s add some JavaScript to make your pages dynamic and very “Web 2.0.” JavaScript lets you program your web page to respond to users moving their mouse, or clicking a particular HTML element, or maybe you want some time-based events to occur. JavaScript is very exciting and can add lots of cool features to your site. In this chapter you’ll learn to add JavaScript to web pages; then in ...

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