Behavior issues?

So my daughter is 17 ish months if I mathed right and from the get go has had me 24/7 around her as I'm a stay at home mom... he dad worked and avoided being home at all costs and it took a toll on the little squirt .... well now he is trucking and we get to come alone but it started bringing up her starting to bite me, hit me, pulling my hair so hard she gets hair with it, and kicking me..... she laughs when I say no that's not nice to " whatever the behavior was" and will do it again... anyone else have this issue too or am I just that bad of a parent clueless of what to do to make this stop.... tips and tricks or advice would be great as shes harming me enough to just want to lock myself away with how persistent she is with it.... really discouraged too as I have failed being a mom at this point....