Constipation & passing only mucus

sorry if this is TMI.

for the last week after i eat my dinner, 8 have been feeling a strong urge to poo but when i get to the toilet i only pass a frothy light brown mucus. ive not been having an cramping or stomach pains.

Does anyone know what this could be? im 22 and female.