If this is scoped to the contents of the course list and doesn't affect any other anchor elements there or elsewhere in course listings, I'm fine with it. We generally try to use classes as selectors these days, but transitioning to that at large can be a larger effort/decision.