On page 78, you say:
- The rows in the listing have alternating background colors. The Rails helper method called
cycle()
does this by setting the CSS class of each row to eitherbg-green-50
orbg-white
, automatically toggling between the two style names on successive lines.
But the screenshot on the next page shows no evidence of that special feature. And, with the bullets and blue underlined text of the Show, Edit, and Destroy links, it doesn’t look like Tailwind touched the page at all. That said, the code does work just fine in my dev environment (see screenshot below).