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

Well done!

You have completed CSS Selectors Quickstart !

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 content and attributes JavaScript can read (or get) the text content of an element, as well as any of its attribute...