You should be required to delete the entire h1 element
Additional context
This happens because the tests are using jQuery to find the elements in this challenge. Selectors in jQuery are only looking for an opening tag so it doesn't matter in the closing tag is left behind. I think we should change the tests to use regex so that we can make sure the entire element has been removed. Using regex instead of jQuery will also allow us to add a solution for this challenge to be tested in the test suite.
Describe the bug
You can pass the test if you only remove the opening h1 tag.
To Reproduce
Steps to reproduce the behavior:
<h1>
tagExpected behavior
You should be required to delete the entire
h1
elementAdditional context
This happens because the tests are using jQuery to find the elements in this challenge. Selectors in jQuery are only looking for an opening tag so it doesn't matter in the closing tag is left behind. I think we should change the tests to use regex so that we can make sure the entire element has been removed. Using regex instead of jQuery will also allow us to add a solution for this challenge to be tested in the test suite.