Check out example codes for "how to put different p elements next to each". It will help you in understanding the concepts better.

Code Example 1

.Same{
  display:inline-block;
}

Code Example 2

<p class='Same'>Good</p>
<p class='Same'>Bad</p>

Learn ReactJs, React Native from akashmittal.com