I use chatGPT too for code. Alot of times whren facing a bug which idk how to solve i'd literally go paste it there but here's a thing. After you get the solution go through it - pasting alone isn't enough.