You cannot protect your JS, CSS or HTML code 100%.
But you could confuse your client by encrypting the code, removing whitespaces, etc. He could copy and paste it but will not be able to edit or extend it that easy.
This tool encrypts HTML to JS: http://www.iwebtool.com/html_encrypter
CSS compressor (removes whitespaces and new lines): https://csscompressor.net/
JavaScript compressor (removes whitespaces and new lines): http://javascriptcompressor.com/
As @AMR already mentioned: protect your copyright and setup a contract. My advices above are just in case, if there is no trust in your client!