How do I know I know how to code?

Honest question. I'm transitioning into a Data career, coming from a performance marketing background, in which I have used mainly SQL, DAX, M and Excel syntaxes to solve problems, create dashboards and explore data. Also a couple Javascript in the past.

But I always have to Google/YT and apply the logic to reach my goals. I never feel I "know" it.

Recently I have been creating a few notebooks using R and Python to explore the data, but still always googling to find and apply everything.

I feel like I'm not learning it. Any tips?

PS: About to begin the last course, the Capstone Project of the Google Data Analyst Professional Certificate.