EDİTED:
I want to ask MSE to confirm the correctness of the alternate solution and its mistake.
My previous attempt was wrong,That's why I made a new initiative.
Using the definition of the derivative I wanted to find the derivative of the function $f(x)=a^x$.
Here $a≠0,a\in \mathbb{R^{+}}$ and $a^x=e^{x \ln a}$
I wrote these:
$(a^x)'=\lim_{\delta x\to 0}\frac{a^{x+\delta x}-a^x}{\delta x}=a^x×\lim_{\delta x\to 0}\frac {a^{\delta x}-1}{\delta x}$
Now,I must find $\lim_{\delta x\to 0}\frac {a^{\delta x}-1}{\delta x}$
I tried to do something:
$$a^{\frac{\delta x}{a^{\delta x}-1}}=\left(1+\left(a^{\delta x}-1\right)\right)^{\frac{1}{a^{\delta x}-1}}$$
$$\lim_{\delta x \to 0} {a^{{\frac {\delta x}{a^{\delta x}-1}}}}=\lim_{\delta x \to 0} {{\left(1+\left(a^{\delta x}-1\right)\right)^{\frac{1}{a^{\delta x}-1}}}}$$
$$a^{\lim_{\delta x\to 0}{{{\frac {\delta x}{a^{\delta x}-1}}}}}=\lim_{\delta x \to 0} {{\left(1+\left(a^{\delta x}-1\right)\right)^{\frac{1}{a^{\delta x}-1}}}}$$
$$a^{\lim_{\delta x\to 0}{{{\frac {\delta x}{a^{\delta x}-1}}}}}=e$$
$$\lim_{\delta x\to 0}{{{\frac {\delta x}{a^{\delta x}-1}}}}=\log_a{e}$$
$$\frac{1}{\lim_{\delta x\to 0}{{{\frac {\delta x}{a^{\delta x}-1}}}}}=\frac{1}{\log_a{e}},\log_a{e}≠0$$
$$\lim_{\delta x\to 0} \frac {1}{ \frac{\delta x}{a^{\delta x}-1}}=\ln a$$
$$\lim_{\delta x\to 0}\frac {a^{\delta x}-1}{\delta x}=\ln a$$
I used:
$\lim_{n\to 0}{n}=\lim_{\delta x\to 0}{(a^{\delta x}-1)}=a^0-1=0$
$\lim_{\delta x \to 0} {{\left(1+\left(a^{\delta x}-1\right)\right)^{\frac{1}{a^{\delta x}-1}}}}=\lim_{n\to 0}{(1+n)^{\frac 1n}}=e$
Finally,
$$(a^x)'=\lim_{\delta x\to 0}\frac{a^{x+\delta x}-a^x}{\delta x}=a^x×\lim_{\delta x\to 0}\frac {a^{\delta x}-1}{\delta x}=a^x \ln a$$
Is this method/way/solution correct?
Thank you!

There are some subtleties here.
How is $a^x$ defined, for a generic $a>0$ and some $x\in\mathbb{R}$? The most common ways are to define $a^x$ directly as $\exp\left(x\log a\right)$, or to consider a sequence of rational numbers $\left\{\frac{p_n}{q_n}\right\}_{n\geq 0}$ convergent to $x$ and let $a^x=\lim_{n\to +\infty}a^{\frac{p_n}{q_n}}$ ;
If we have $\lim_{n\to +\infty}f(n)=L$ (limit of a sequence) it is not granted that $\lim_{x\to +\infty} f(x)=L$ (limit of a function) without further assumptions on $f$. For instance $\lim_{n\to +\infty}\sin(\pi n)=0$ but $\lim_{x\to +\infty}\sin(\pi x)$ does not exist, so we have to be careful in deriving $\lim_{x\to 0}\frac{a^x-1}{x}=\log a$ from $\lim_{n\to +\infty}\frac{a^{1/n}-1}{1/n}=\log a$;
On the other hand, there is no need to over-complicate things: $\lim_{x\to 0}\frac{a^x-1}{x}$ is just the value of the derivative of $a^x$ at the origin. If we know/prove that $a^x=\exp\left(x\log a\right)$, then $\lim_{x\to 0}\frac{a^x-1}{x}=\log a$ is a straightforward consequence of the chain rule, given the differentiability of the exponential function.