Title IX of the Education Amendments of 1972 is a federal law prohibiting sex-based discrimination, which includes sexual harassment. If an educator creates a hostile classroom environment by making inappropriate jokes or advances, it likely constitutes sexual harassment. You may have a claim even if the harassment isn’t at you.