Its ok to use Google and ChatGPT for every little problem you have, searching for a solution. Programmers share every problem and solution online, and if they didnt, everyone would be challenged by the same issues. They share the solutions so you can go on with your day