How to add website domain name as a class for body using JS

It is very simple & straightforward to get the website domain name as a class name for the body tag dynamically using JS, grab the code with this handy snippet.
copy-icon

Comments

Authors

Read Next