The development of digital competences and attitude towards e-learning