The index.html file contains a list of US cities.
The text color of each odd list item must be #white.
The text color of every even list item must be #38287F.

This task is part of the Full-Stack JavaScript Course
If you have any issues with it, you can ask for community help below the post
Feel free to help others if you’ve already solved the task

index.html

<!DOCTYPE html>
<html>
  <head>
    <title>Navigation</title>
    <style>
      ul {
        list-style: none;
        padding: 0;
      }
      li {
        margin-bottom: 12px;
        padding: 5px 10px;
        font-weight: bold;
        font-family: monospace;
        width: 225px;
        background-color: rgb(255, 198, 0);
      }
      h2 {
        font-family: monospace;
      }
    </style>
  </head>
  <body>
    <h2>American cities</h2>
    <ul>
      <li>New York, New York</li>
      <li>Los Angeles, California</li>
      <li>Chicago, Illinois</li>
      <li>Washington, DC</li>
      <li>Boston, Massachusetts</li>
      <li>Las Vegas, Nevada</li>
    </ul>
  </body>
</html>