"Run tests" accepted bad code

Hello all. New student; day two. Just starting the Responsive design with Bootstrap and found an issue with the Run tests feature.

In the Make Images Mobile Responsive section, I misread the last check point “Make sure your new img element has a closing angle bracket.” and entered full closing tag instead “”.

The test passed but I felt that something was definitely wrong because the img element was supposed to be self-closing, right? After confirming this, I was curious if what I did was even valid so I checked the HTML documentation and it clearly states that what I did was not acceptable…

Tag omission
The img element is a void element. An img element must have a start tag but must not have an end tag.

The tester should have picked this up and not passed my invalid tag.

Is this the correct place to report this? If not, please point me in the right direction. Thanks!

If there isn’t one already, could you please open a GitHub issue. Thank you for help with QA-ing the site.

Thanks for the info! I’ve created GitHub issue #13793

1 Like