>>106508742 (OP)
Ask chatGPT to teach you how to program instead.
If you can't program on your own, you can't debug on your own, and if you can't debug on your own, you can't see when chatGPT fucked it up (and it will fuck it up).
Right now you're getting the fuck ups that are simple to see, like just shit that don't compile or obviously break the code, but the "barely working code" will accumulate the more you do a bigger project until it's all fucked and you have no way out of it.