var geologyapp = new application(); geologyapp.createmodule("geolearning", module => { module.addlesson("the individual rock", lesson => { lesson.addinformation("understanding the unique journey of individual rocks helps us regenerate our interest in geology, turning neglect into curiosity."); lesson.addquiz("pre-institutional earth", quiz => { quiz.addquestion("how does an individual rock's journey reflect the earth's pre-institutional history?", "openprompt"); }); lesson.oncomplete += (sender, e) => console.writeline("congratulations on completing this module about the extraordinary paths of individual rocks within the tapestry of geology!"); }); });