Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div class="wrapper" id="single-wrapper">

	<div class="container" id="content" tabindex="-1">

		<div class="row">

			<!-- Do the left sidebar check -->
			


<div class="col-md-8 content-area" id="primary">
			<main class="site-main" id="main">

				
					<article class="post-1260 post type-post status-publish format-standard has-post-thumbnail hentry category-uncategorized" id="post-1260">

	<header class="entry-header">

		<h1 class="entry-title">feature image</h1>
		<div class="entry-meta">

			<span class="posted-on">Posted on <a href="http://192.168.33.10/wordpress/blog/2019/05/02/feature-image/" rel="bookmark"><time class="entry-date published updated" datetime="2019-05-02T12:33:18+00:00">May 2, 2019</time></a></span><span class="byline"> by <span class="author vcard"><a class="url fn n" href="http://192.168.33.10/wordpress/blog/author/root/">Tom</a></span></span>
		</div><!-- .entry-meta -->

	</header><!-- .entry-header -->

	<img width="640" height="369" src="https://live.staticflickr.com/65535/46922225744_11a5b96e3b_c.jpg" class="attachment-large size-large wp-post-image" alt="An old map." srcset="https://live.staticflickr.com/65535/46922225744_11a5b96e3b_c.jpg 1024w, https://live.staticflickr.com/65535/46922225744_11a5b96e3b_c.jpg 300w, hhttps://live.staticflickr.com/65535/46922225744_11a5b96e3b_c.jpg 768w" sizes="(max-width: 640px) 100vw, 640px">
	<div class="entry-content">

		<p><img class="alignleft size-medium wp-image-1261" src="https://live.staticflickr.com/65535/46922225744_11a5b96e3b_c.jpg" alt="An old map." width="300" height="173" srcset="https://live.staticflickr.com/65535/46922225744_11a5b96e3b_c.jpg 300w, https://live.staticflickr.com/65535/46922225744_11a5b96e3b_c.jpg 768w, https://live.staticflickr.com/65535/46922225744_11a5b96e3b_c.jpg 1024w" sizes="(max-width: 300px) 100vw, 300px"></p>

		
	</div><!-- .entry-content -->

	<footer class="entry-footer">

		<span class="cat-links">Posted in <a href="http://192.168.33.10/wordpress/blog/category/uncategorized/" rel="category tag">Uncategorized</a></span><span class="edit-link"><a class="post-edit-link" href="http://192.168.33.10/wordpress/wp-admin/post.php?post=1260&amp;action=edit">Edit <span class="screen-reader-text">"feature image"</span></a></span>
	</footer><!-- .entry-footer -->

</article><!-- #post-## -->

										<nav class="container navigation post-navigation">
					<h2 class="sr-only">Post navigation</h2>
					<div class="row nav-links justify-content-between">
						<span class="nav-previous"><a href="http://192.168.33.10/wordpress/blog/2019/05/01/1253/" rel="prev"><i class="fa fa-angle-left"></i>&nbsp;Previous Post</a></span>					</div><!-- .nav-links -->
				</nav><!-- .navigation -->

		
					
				
			</main><!-- #main -->

		<!-- Do the right sidebar check -->
		
</div><!-- #closing the primary container from /global-templates/left-sidebar-check.php -->



  
<div class="col-md-4 widget-area" id="right-sidebar" role="complementary">
	<aside id="search-2" class="widget widget_search"><form method="get" id="searchform" action="http://192.168.33.10/wordpress/" role="search">
	<label class="assistive-text" for="s">Search</label>
	<div class="input-group">
		<input class="field form-control" id="s" name="s" type="text" placeholder="Search …" value="">
		<span class="input-group-append">
			<input class="submit btn btn-primary" id="searchsubmit" name="submit" type="submit" value="Search">
	</span>
	</div>
</form>
</aside>		<aside id="recent-posts-2" class="widget widget_recent_entries">		<h3 class="widget-title">Recent Posts</h3>		<ul>
											<li>
					<a href="http://192.168.33.10/wordpress/blog/2019/05/02/feature-image/">feature image</a>
									</li>
											<li>
					<a href="http://192.168.33.10/wordpress/blog/2019/05/01/1253/">(no title)</a>
									</li>
											<li>
					<a href="http://192.168.33.10/wordpress/blog/2019/04/13/mammoth-test/">mammoth test</a>
									</li>
											<li>
					<a href="http://192.168.33.10/wordpress/blog/2019/04/01/long-post/">long post</a>
									</li>
											<li>
					<a href="http://192.168.33.10/wordpress/blog/2019/02/25/display/">red and black</a>
									</li>
					</ul>
		</aside><aside id="recent-comments-2" class="widget widget_recent_comments"><h3 class="widget-title">Recent Comments</h3><ul id="recentcomments"><li class="recentcomments"><span class="comment-author-link">Tom</span> on <a href="http://192.168.33.10/wordpress/blog/2018/06/19/hello-world/#comment-3">Hello world!</a></li><li class="recentcomments"><span class="comment-author-link">Tom</span> on <a href="http://192.168.33.10/wordpress/blog/2018/07/17/iframe-auto-size-test/#comment-2">iframe auto size test</a></li><li class="recentcomments"><span class="comment-author-link"><a href="https://wordpress.org/" rel="external nofollow" class="url">A WordPress Commenter</a></span> on <a href="http://192.168.33.10/wordpress/blog/2018/06/19/hello-world/#comment-1">Hello world!</a></li></ul></aside><aside id="archives-2" class="widget widget_archive"><h3 class="widget-title">Archives</h3>		<ul>
				<li><a href="http://192.168.33.10/wordpress/blog/2019/05/">May 2019</a></li>
	<li><a href="http://192.168.33.10/wordpress/blog/2019/04/">April 2019</a></li>
	<li><a href="http://192.168.33.10/wordpress/blog/2019/02/">February 2019</a></li>
	<li><a href="http://192.168.33.10/wordpress/blog/2019/01/">January 2019</a></li>
	<li><a href="http://192.168.33.10/wordpress/blog/2018/07/">July 2018</a></li>
	<li><a href="http://192.168.33.10/wordpress/blog/2018/06/">June 2018</a></li>
	<li><a href="http://192.168.33.10/wordpress/blog/2015/02/">February 2015</a></li>
	<li><a href="http://192.168.33.10/wordpress/blog/2010/02/">February 2010</a></li>
		</ul>
			</aside><aside id="categories-2" class="widget widget_categories"><h3 class="widget-title">Categories</h3>		<ul>
				<li class="cat-item cat-item-46"><a href="http://192.168.33.10/wordpress/blog/category/black/">Black</a>
</li>
	<li class="cat-item cat-item-25"><a href="http://192.168.33.10/wordpress/blog/category/socy325/blog9-socy325/">Blog9</a>
</li>
	<li class="cat-item cat-item-45"><a href="http://192.168.33.10/wordpress/blog/category/red/">Red</a>
</li>
	<li class="cat-item cat-item-1"><a href="http://192.168.33.10/wordpress/blog/category/uncategorized/">Uncategorized</a>
</li>
		</ul>
			</aside><aside id="meta-2" class="widget widget_meta"><h3 class="widget-title">Meta</h3>			<ul>
			<li><a href="http://192.168.33.10/wordpress/wp-admin/">Site Admin</a></li>			<li><a href="http://192.168.33.10/wordpress/wp-login.php?action=logout&amp;_wpnonce=ce48ca09da">Log out</a></li>
			<li><a href="http://192.168.33.10/wordpress/feed/">Entries <abbr title="Really Simple Syndication">RSS</abbr></a></li>
			<li><a href="http://192.168.33.10/wordpress/comments/feed/">Comments <abbr title="Really Simple Syndication">RSS</abbr></a></li>
			<li><a href="https://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress.org</a></li>			</ul>
			</aside>
</div><!-- #secondary -->


	</div><!-- .row -->

</div><!-- Container end -->

</div>
              
            
!

CSS

              
                .hidden {
  display: none;
}
              
            
!

JS

              
                let featured = document.querySelectorAll('img')[0]
let content = document.getElementsByClassName('entry-content')[0]

let firstImg = content.querySelectorAll('img')[0]

if (featured.src === firstImg.src){
  //firstImg.classList.add('hidden') //for 
  firstImg.remove()
}
              
            
!
999px

Console