many mosques are famous works of architecture. they are often built in a style that has stayed the same for many centuries. many mosques have prayer halls, domes, and minarets. they may also have a courtyard. mosques are often built with patterned walls.