The effect of formal elements on students' affective learning in an informal setting