When x=0 the numerator is non-zero while the denominator becomes zero, so the limit is infinity as x→0.
If the numerator→0 as x→0 then this problem would have been handled differently, because f(0) would have produced 0/0 which is indeterminate and would have required deeper investigation.