This snippet is super small but is super handy. It detects to see if JavaScript is enabled on the users browser. If yes, a class will be added to the <body> tag Adds the class yourClassName to <body> tag if Javascript is enabled.
The post Add Class To Body If JavaScript Is Enabled appeared first on Web Design Weekly.