What you wear will depend a little on whether you are staying solely in the tourist beach resorts, or exploring the wider country. However always remember it is a Muslim country so you should respect their conservative values at all times.

In keeping with many Muslim countries you will find that people in the capital and other major towns such as Marrakech are used to foreigners, and are therefore likely to be more liberal and more tolerant of your clothing.