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

Code Example 1

<ol>
	<li> PRINT "Hello World!" </li>      
	<li>INPUT "Who are you? ", myName</li>
</ol>

Learn ReactJs, React Native from akashmittal.com