The actual problem is that many designers just don't understand how things work in general. They just "do some pictures"... Then ofc they get this "learn to code" line.
But I can say the same about programmers when it comes to design.
This is something that needs effort from both sides if you care about final result