What were most buildings in the middle ages made of?

they were made of mud bricks and mud mouldings