I am on the first test of the web design certification, i had very very basic html and css under my belt but i still did the full course. The problem is that when checking my tribute page i keep failing test 8 about responsive images with this error.
Use the “display” style property with a value of “block” for responsive images.: expected ‘inline’ to equal ‘block’
AssertionError: Use the “display” style property with a value of “block” for responsive images.: expected ‘inline’ to equal ‘block’
I dont really understand what this means. This is for the
User Story #8: The
imgelement should responsively resize, relative to the width of its parent element, without exceeding its original size.
Originally i had just used a flex, but that didnt work.
Heres the project: https://codepen.io/Mattheaus/full/PoNQRYp
Edit: I fixed it, i have no idea how, i was reverting the changes after fiddling with it for a bit and when i ran the test it worked. I suppose i had spelt something incorrectly.