A function is continuous iff it is continuous at all points in its domain. What confuses me about this definition is that for undefined points in a function, those points are removed from the domain.
Does this mean a function $f(x) = x$ with domain $(-\infty, -10) \cup (3, \infty)$ is continuous even though there's a big blank space between the two pieces?
Does this mean $f(x) = \frac{x-3}{x-3}$ is continuous even though it has a removable singularity at $x=3$?
Would a single point be continuous even though it lacks limits on either side?
Does this mean $f(x) = \tan(x)$ and $f(x) = 1/x$ are continuous even though they have asymptotes where the function goes to infinity?
Does this mean the only functions that are discontinuous are ones with jump discontinuities?
It is because we get a little bit loosey-goosey with the concept of domain.
We had too many questions in Algebra class / pre-calculs class were we were asked what is the domain of $f(x).$ i.e. the domain of $f(x) = \frac 1x$ is $\mathbb R - \{0\}.$ But, it is really the responsibility of whoever it is that defines the function to also define the domain. It could be that there are points in the domain where the function is not defined. When we get to these continuity questions, we are often being asked to include points in the domain where the function may, in fact, be undefined.
$f(x) = \frac 1{x}$ is continuous on $(-\infty,0)\cup (0,\infty),$ but it is not continuous on other domains such as $[-1,1]$ or $\mathbb R.$