It would also be silly to just visit Fes and Marrakech. Morocco is a beautiful country and the most beauty is in the countryside. You would miss a lot by just staying in cities. I would shorten my time in the city, 3 days in each is enough for the beginning, and put in some nature.
Pro tip

