Summary
Web development revolves around the Document Object Model and the Event object. JavaScript is built to quickly and efficiently interact with the DOM and DOM events to provide us with powerful and interactive web pages. In the first topic of this chapter, we covered the DOM tree and discussed the ways to navigate and manipulate the DOM. In the second topic of this chapter, we discussed the JavaScript Event object, showed how to interact with DOM events, and demonstrated how to set up handlers to catch events. In the final topic of this chapter, we discussed the jQuery module. We discussed the jQuery object and jQuery selector, and showed how to use jQuery for DOM manipulation and event handling. With the topics learned in this chapter, you should be prepared to begin writing your own powerful and interactive web pages.
In the next chapter, you will analyze the benefit of tests and build code testing environments.