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

Instruction

Next Steps with CSS Selectors and JavaScript

In this final step, we'll wrap things up by going over more best practices and suggestions for working with CSS selectors and JavaScript.

Elements, IDs or classes?

Markup can be unstable. For example, a change in the design could mean that your HTML tags also change, which could break your styles and functionality. You will have to update your CSS and JavaScript each time you change a ta...