Showing only the good ones
The answer to the exercise in Showing only the good ones.
{rating && ...}gives back the rating when it is truthy, and every rating here is, so every card got the badge.rating >= 8.5is eithertrueorfalse.{episodesLeft && ...}gives back0for Andor, and React draws a0.episodesLeft > 0isfalse, and React draws nothing forfalse.
Four shows in the array, three cards on the page. The Bear and Severance carry
the badge, Andor does not, and Andor has no episodes line because its count is
0.