The role of the Internet in teachers' professional practice: activities and factors associated with teacher use of ICT inside and outside the classroom