Clear & white discharge?!

So yesterday i felt like my period was coming but i knew it wasn’t because im fertile and there are still four days to go... i went to the bathroom and i had a Lot thick amount of clear discharge but it had like lil white in it too... and it would come out again like 2 times and then it stopped... does anyone know why? What does that mean? Like clear and white at the same time.?