Why are logarithms not defined for 0 and negatives? I can raise $0$ to the power of one, and I would get $0$. Also $-1$ to the power of $3$ would give me $-1$.
I think only some logarithms (e.g log to the base $10$) aren't defined for $0$ and negative numbers, is that right?
I'm confused because on all the websites I've seen they say "logs are not defined for $0$ and negative number". On one website it says "$\log_b(0)$ is not defined", then provides an example where the base is $10$.

No, that’s not right: no matter what the base $b$, $\log_b x$ is not defined for $x\le 0$. Recall that $\log_b x=y$ means that $b^y=x$. If $b>0$ and $b\ne 1$, no power of $b$ is negative or $0$, so the equation $b^y=x$ has no solution for $x\le 0$. We don’t define logs base $b$ for $b=1$ or $b\le 0$.
(I am assuming that you are working in $\mathbb{R}$, the real numbers; matters become much more complicated in $\Bbb{C}$, the set of complex numbers.)
Your comments that $(-1)^3=-1$ and $0^1=0$ suggest that you may actually want to ask why we don’t define logs base $b$ for $b=1$ or $b\le 0$, though that’s not the question that you actually did ask. A mathematically honest answer would be rather complicated, since it hinges on how one defines the logarithm function rigorously in the first place. Still, some difficulties are pretty easy to see. If $b$ is $1$ or $0$, there are very few values of $x$ for which the equation $b^y=x$ has a solution, so the notion of logs base $0$ or $1$ would obviously be pretty useless. What about something like $b=-2$? What would $\log_{-2}2$ be? If it’s $y$, we have $(-2)^y=2$, so $-2=2^{1/y}$, which is impossible, since no power of $2$ is negative.
