Tommy is a bad boy
Mike is a Good boy
Jimmy is a Bad boy
James is a Good boy.
Rosy is a bad boy
Tony is a Bad boy
Cameron is a Good boy
Rick is a Good boy.
It will filter all the paragraphs which contain it's class name as "bad" and applies the green color background to it
It will filter all the paragraphs which contains it's class name as "good" and applies the yellow color background to it