The function initially defined is in fact undefined when $x=0$ because the numerator and denominator are both $0$. The question is how to define it at $0$ so as to make it continuous at $0$. That means that what is asked for is a function of the form
$$
g(x) = \begin{cases} f(x) & \text{if }x\ne0,\\ c & \text{if }x=0, \end{cases}
$$
and such that $g$ is continuous at $0$. That means the number $c$ must be $\lim\limits_{x\to0}f(x)$.
A limit $\lim\limits_{x\to\bullet}\dfrac{{}\ \bullet\ {}}\bullet$ where both the numerator and the denominator approach $0$ can be $0$ or any other number or $+\infty$ or $-\infty$, depending on which functions are in the numerator and the denominator.