Yea, just copy/pasting code without already understanding it is a bad move.
If you deliberately drive GPT into a certain direction with the prompts about a specific topic and the model has been trained on the subject matter, its accuracy will be higher. If you ask GPT about a less popular language that it has little or no training on, its answer will likely be garbage.
I think it's more of a standard to have red indicate a disconnected state. My Thinkpad T14s has a red dot on the webcam cover, wireless peripherals like mice have a red indicator when they're off, etc.
Edit: I also don't think it should be confused for the "activity being used" LED indicator. The disconnected indicator is just paint, not a light.
The Tunic OST if I actually need to focus on what I'm writing.