Make an image responsive. display:block?

Tell us what’s happening:
what does the style rule display: block do?

Your code so far

.responsive-img {
max-width: 100%;
height: auto;
display: block;


img {
width: 600px;

<img class="responsive-img" src="" alt="freeCodeCamp stickers set">
<img src="" alt="freeCodeCamp stickers set">

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18362.

Challenge: Make an Image Responsive

Link to the challenge:

remove the display:block from your .responsive-img class.