I'm not sure if I understand the use case fully, but it seems like there's an interaction if a teacher selects. I'll update my answer if I misunderstood.
Either way, there's a list of objects (courses) that need to be viewed. I've added a sort on the top right. This way the user has a say in what's ordered.
What's less clear is the path of interaction you're ...
I think a good solution widely used in e-commerce is flip cards. In desktop webs they are activated by hovering and in mobile apps with number of clicks: one click to select, another click to see the info and a third click to deselect the card.
Example source: https://codepen.io/roppazvan/pen/EZVLEy