As the vehicle ahead of me began braking, I attempted to slow down accordingly. Despite applying the brake pedal, my vehicle did not decelerate as expected. The brake went down to the floor without resistance. I attempted harder braking, but the vehicle continued moving forward. During this incident, the forward collision warning system activated and issued audible alerts. Unfortunately, I was unable to stop before making contact with the vehicle ahead.