<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'adding a class to the body if JavaScript was available'</title>
    <description>Snipplr comments feed</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Fri, 10 Apr 2026 21:31:23 +0000</lastBuildDate>
    <item>
      <title>TwanGrey said on 28/Mar/2023</title>
      <link>https://snipplr.com/view/52903/adding-a-class-to-the-body-if-javascript-was-available</link>
      <description>&lt;p&gt;This is a great way to ensure that JavaScript is available for your website. By adding the class "hasJS" to the body, [real properties Northridge](https://homesbyartur.org) you can use it to control the display of certain elements using the CSS rule ".hasJS .module". This is an efficient and effective way to provide an enhanced user experience.&lt;/p&gt;</description>
      <pubDate>Tue, 28 Mar 2023 08:29:56 UTC</pubDate>
      <guid>https://snipplr.com/view/52903/adding-a-class-to-the-body-if-javascript-was-available</guid>
    </item>
  </channel>
</rss>
