I feel like ChatGPT can, for experienced devs, give you a good foundation to solve a problem or build towards something you want to make. Aside from that, learning the fundamentals first is always the better option.