What is this ?

I’m 5 days away from my period ! Yesterday I had this as well and the day before I was spotting a little pink . I have all my period symptoms. Why does it look like mucus ?

I usually start spotting a day before my period