Check out example codes for "background color of a paragraph to red". It will help you in understanding the concepts better.

Code Example 1

<body style="background-color:powderblue;">

<h1>This is a heading</h1>
<p>This is a paragraph.</p>

</body>

Learn ReactJs, React Native from akashmittal.com