With a goal in mind to engage the less motivated - this interactive code works well. An additional level of coding could see a timer applied for either each individual question or as a set time to complete as many questions as possible.