I am going to assume is this your most recent code here
And not this peice which doesn’t have the img element
When I ran your most recent code it passes for me.
Please ensure that you have disabled any extensions that interface with the freeCodeCamp website (such as Dark Mode and Ad Blocker), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.
or try another browser