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

Code Example 1

i hate u school I HATE U SO MUCH
I HATE U I HATE U

Code Example 2

<p class="ThisIsAClassName">Class</p>

Learn ReactJs, React Native from akashmittal.com