Why you might want this
An overview of the idea
How to do it
First, we add a class to the HTML tag, which you can name whatever you want. We shall use “no-js” in this example, like this:
Then, in the HTML head, the first script you want to add before any other script is this:
You can add that class to any element you like, like this:
That’s pretty much it!
Something to note