Someone took the take of "web designers should learn how to write html and css", which I very much agree with, into a "no, instead, designers should use AI to write their HTML and CSS for them" take and I just...
The point of learning how to actually build an interface in HTML and CSS is to better understand the medium for which you are designing. The AI tool (or any tool really, that outputs code) isn't going to do that for you, because they're too unreliable to do it well and correctly.