Below I have part of an `index.html.erb` file with an HTML table and my goal is to have alternating white and gray rows while using a Ruby iterator. I want odd rows to have `<tr class="bg-white">` & even rows to have `<tr class="bg-gray-50">`. I am using TailwindCSS & I have tried the odd & even transform classes for children but I don't think that is the answer. I don't really understand how to articulate it into an if statement. I can't do "if client ID is odd or even: be white or gray" because if a client is deleted I don't want two white or two gray rows on top/beneath one another (say if client ID 26 is deleted and I have 25 & 27 touching now). Thank you very much in advance for any suggestions.

```
      <tbody>
        <% @clients.each do |client| %>
          <tr class="bg-white">
            <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900 ">
              <%= client.first_name + " " + client.last_name %>
            </td>
            <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
              <%= client.phone_number %>
            </td>
            <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
            </td>
            <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
            </td>
            <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
            </td>
          </tr>
        <% end %>
      </tbody>

```