Have problem deleting element

Tell us what’s happening:

Your code so far


<!----><h1>Hello World</h1><!---->

<h2>CatPhotoApp</h2>

<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 8.1.0; Infinix X606C) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Mobile Safari/537.36.

Challenge: Delete HTML Elements

Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/delete-html-elements

You just need to remove the element, not comment it out.

Also, that is not the correct syntax for comments.

<!--  
 ...commented out code
-->

So what’s the proper way to delete it

Just delete it like you would delete text in a text editor.

But that is what I have been doing but it is not deleting

Not looking at the code you posted it isn’t. Just Backspace delete the <h1>Hello World</h1> element. You should be left with this.

<h2>CatPhotoApp</h2>

<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>

Thank you I appreciate