ChatGPT is a great tool to get started but I am yet to see code that I can simply copy and paste. Sometimes, the system just makes things up and profusely apologizes when asked for an explanation. It is also possible I need to learn how to "chatGPT".