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.
Share
share your add link
https%3A%2F%2Fmycode.blog%2Fnavya%2Fhow-get-domain-name-site-url-and-split-them-based-characters%0A
Share in social
Comments