I have recently had some of my first lessons in calculus. We've learned to use the well-known formula for the slope of a tangent:
$$m_t=\lim_{h\to 0}\frac{f(a+h)-f(a)}{h}$$
When working with this formula, I was told that the equation on the left-side should be simplified such that when $h=0$, there would be no division by $0$.
Obviously, I'm extremely new to these calculus concepts.
I want to know what happens when the equation cannot be simplified and there is a division by $0$. That is, there is no solution. What does a situation like this represent? What would it look like graphically?
There is no division by zero, because you're not evaluating the $\dfrac{f(a+h)-f(a)}{h}$ at zero. Instead, you're taking a limit, i.e. you're trying to figure out what this expression approaches, as $h$ approaches zero.
There are some times when this limit is not defined. For example, let $f(x)=\sqrt[3]{x}$ and let $a=0$. Then
$$\dfrac{f(a+h)-f(a)}{h}=\dfrac{\sqrt[3]{a+h}-\sqrt[3]{a}}{h}=\dfrac{\sqrt[3]{h}}{h}=\dfrac{1}{\sqrt[3]{h^2}}.$$
And this expression will approach $\infty$ as $h$ approaches $0$.