#container {
width: 250px;
margin: 0 auto;
}
.group {
border: 1px solid grey;
margin-bottom: 20px;
}
.group p {
text-align: center;
font-family: Helvetica sans-serif;
font-size: 25px;
color: #2e3d49;
}
.group img{
width: 100%;
}
<div id="container">
<div class="group">
<p>Hello World</p>
<img src="https://i.ytimg.com/vi/tntOCGkgt98/maxresdefault.jpg">
</div>
</div>
When you run the code snippet, you may notice a blank space at the bottom of the image. What is causing this extra space to appear?