Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.


Control Elements with JavaScript and Selectors

There is a two-step sequence when controlling an HTML element with JavaScript. First you select the element using a selector method. Then you can either read or manipulate the element. There are basic tasks you can do once you select an element with JavaScript.

Read an element's...