Question: do designers need to code?
Answer: Learning to code for designers is not necessary. But if they know a bit about code, they can understand a developer's perspective. It doesn't mean that they have to be an expert coder. But it would greatly benefit them if they knew a little about how to code HTML and CSS, maybe a little bit of JavaScript.