Text this: Assessment of students’ cognitive–affective states in learning within a computer-based environment: Effects on performance