Knowing how to code allows web designers to implement their designs more accurately, troubleshoot issues, and collaborate more effectively with developers. It also enables them to create custom solutions that may not be achievable through design tools alone.