Check out example codes for "html add two classes". It will help you in understanding the concepts better.

Code Example 1

<a href="#" class="class1 class2">My Text</a>

Learn ReactJs, React Native from akashmittal.com