"Your code should not have any div tags" issue

Tell us what’s happening:

Hey guys,
whenever I try to pass a challenge, that requires not to use any div elements, I end up with the following test output:

// running test
Your code should not have any div tags.
// tests completed

Your code so far

<h1>Deep Thoughts with Master Camper Cat</h1>
    <h2>The Garfield Files: Lasagna as Training Fuel?</h2>
    <p>The internet is littered with varying opinions on nutritional paradigms, from catnip paleo to hairball cleanses. But let's turn our attention to an often overlooked fitness fuel, and examine the protein-carb-NOM trifecta that is lasagna...</p>

  <img src="samuraiSwords.jpeg" alt="">

    <h2>Defeating your Foe: the Red Dot is Ours!</h2>
    <p>Felines the world over have been waging war on the most persistent of foes. This red nemesis combines both cunning stealth and lightening speed. But chin up, fellow fighters, our time for victory may soon be near...</p>

  <img src="samuraiSwords.jpeg" alt="">

    <h2>Is Chuck Norris a Cat Person?</h2>
    <p>Chuck Norris is widely regarded as the premier martial artist on the planet, and it's a complete coincidence anyone who disagrees with this fact mysteriously disappears soon after. But the real question is, is he a cat person?...</p>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0.

Link to the challenge:

maybe try the reset all code button and then make the divs into articles and re-test? There’s nothing obviously wrong with the code so maybe it is just an environmental glitch.

I copy pasted your code into the challenge and it worked fine. Maybe try refreshing your browser?

Are you using FireFox ?? I just tried it using Chrome and I didn’t have any problems. A lot of Free Code Camp was optimized for Google Chrome.

But yes your code works fine, and I wouldn’t spend too much time worrying about it. Just move on to the next challenge :+1: :smile:

Thank you for the replies guys, I have tried your suggestions, but unfortunately none of them fixed the issue. I assume that the problem is in my browser as petercr has mentioned. Perhaps it’s weird bug that could be fixed

Bugs should always be reported as GitHub Issues. Whenever reporting a bug, please check first that there isn’t already an issue for it and provide as much detail as possible.

I also ran into this problem. I solved this problem by changing the browser. If you are using Chrome, change the browser to firefox for example. And solve this question, then go back to your default browser. I think the problem is extensions but I’m not sure.