don't get mad at how bad this looks, I'm trying my best. Anyways, I was looking at the definition of $e$, you know like: $$\lim_{x\to\infty}\left(1+\frac1 x\right)^x$$
but if I use the properties of limits I can take the exponent outside the limit $$\left(\lim_{x\to\infty}1+\frac1 x\right)^x$$
then if I use direct substitution, the limit of $1/x$ as $x$ approaches infinity is $0$ and the limit of $1$ as $x$ approaches infinity is just $1$ so now the limit is:
$$1^\infty$$
and that just equals $1$, so now it seems like $e$ just equals $1$. What's wrong with my math or with what I just did?