i am trying to make a site where when javascript turns off it will display an overlay. and then put the website unusable until js is turned back on, using .
i have tried just
<noscript><h1>turn javascript on to use this site</h1></noscript>
this code and it just displays it side by side my code and does not make my site unusable until they turn on javascript like i want. if anyone can provide a code snippet or explain this i would appreciate it
you are at the right path, just add some CSS into it to block the view.
Something like this would help
you should put
<noscript>tag around the.blockerdiv like this