add pseudoclasses example to chapter 3