To court something means to seek, strive for, or attempt to gain it. For example, one might court favor with a superior, court danger, or court controversy. It implies active pursuit, often with strategy or flattery. The noun form of court refers to a legal setting, but this question tests the verb form.