The city of Chefchaouen is easily reachable by bus from Fez or Tangier. They have daily routes. You can also drive yourself with a rental car.
City of Marrakesh
Marrakesh is well-connected by public transport. Take a train from Casablanca or a bus from major cities; Marrakesh Menara Airport