Maybe miscarriage

Brooklyn

Me and my boyfriend had unprotected sex. I thought I was supposed to have my period on aug 24th but it was late so I took a pregnancy test but I’m not sure if I took it right. It did turn out negative. I started bleeding on the 27th but it wasn’t like my normal periods. It was shorten and my cramps weren’t the same and I had blood clots and it was lighter color. I would’ve been about 2.5-3 weeks pregnant. Did i have some type of miscarriage. Like a chemical miscarriage. Please help I’m 17 i just would like to know if I had one