Digital Pedagogy: Adapting Learning Theories to Online Environments