quiz inheritance1-made the page class