title: How to detect HTML hidden Attribute with pure javascript
body: <p>I'm working in the analytics field and most of the time I'm using CSS selector to solve my issue. Right now I'm working on a website were I need to detect if a <code>&lt;p&gt;</code> element is hidden or not. so here is the two possible situation :</p>
  
  <pre><code>&lt;p namehere hidden&gt;This paragraph should be hidden.&lt;/p&gt;
  &lt;p namehere This paragraph should be hidden.&lt;/p&gt;
  </code></pre>
  
  <p>What's the most simple way to return a boolean regarding the hidden status of the <code>&lt;p&gt;</code> element ? </p>
  
  <p>Thanks !</p>