jquery to remove H1 html snippet
<p>I have a snippet of code I need to remove - </p>

<pre><code>    &lt;div class="l-titlebar-content"&gt;&lt;h1 itemprop="headline"&gt;Text here&lt;/h1&gt;&lt;/div&gt;
</code></pre>

<p>A previous question had this answer for removing an H1: </p>

<pre><code>$("nobr.testClass &gt; h1").remove(); 
</code></pre>

<p>so I tried to edit that and swap out the classes to:</p>

<pre><code>$(".l-titlebar-content &gt; h1").remove();
</code></pre>

<p>but it is not removing the H1.</p>