In this Element, the authors explore both the opportunities and the challenges for computer science education resulting from the widespread availability of generative AI.