Check out example codes for "dollar zero html". It will help you in understanding the concepts better.

Code Example 1

Use Dollar Zero to spot HTML element

Learn ReactJs, React Native from akashmittal.com