Question: You want to create striped table rows using CSS without adding a class to any element. Which CSS would correctly apply the background color to every odd row in your table?

  1. `tr:nth-child(2) { background-color: #ccc; }`
  2. `tr:nth-child(2n+1) { background-color: #ccc; }`
  3. `tr:nth-child(2+1) { background-color: #ccc; }`
  4. `tr:nth-child(2n) { background-color: #ccc; }`

Answer: The correct answer of the above question is Option B:`tr:nth-child(2n+1) { background-color: #ccc; }`