on campus (adverb), on-campus (adjective) open when used as adverb; hyphenated when used as adjective