<ol>
  <p>This is a first paragraph<p>
  <li>Ruby</li>
  <li>Python</li>
  <li>JavaScript</li>
  <li>Go</li>
  <li>PHP</li>
  <p>Here is a paragraph</p>
  <li>Java</li>
  <li>Kotlin</li>
  <li>C++</li>
  <li>C</li>
  <li>Cobol</li>
  <li>Fortran</li>
</ol>
ol {
  color: gray;
}

ol li:nth-of-type(odd) {
  color: red;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.