Check out example codes for "select second element of type css". It will help you in understanding the concepts better.

Code Example 1

p:nth-of-type(2) {
   background: red;
}

Learn ReactJs, React Native from akashmittal.com