Test runner when making projects goes away when I enter my code

So i’m making a product landing page but for some reason, the testing thingy that you use to run the test on the projects is missing. I tried making a new project, and the tester is there, but when I copy and paste my code into it, the tester immediately gets removed? Anyone know how to fix this, or why it’s even happening?

Here’s the link to my project: My product landing page project
And heres the link to a new page with no code in it (as you can see the test thingy is there): New page

I just want to resolve this problem because it’s kinda hard to make corrections when I don’t know what’s wrong.

Hi @arathgomez !

Add this script tag to your html page and you shouldn’t have any more issues with the test suite disappearing.

<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>

It seems to be a result of the iframe (the contents of which are blocked by a CORS policy anyway). I’m not sure why the iframe is interfering with the testing suite, but adding the script tag that @jwilkins.oboe gave you will work.

1 Like

Good catch!

I didn’t even notice that the video wasn’t even working.

@arathgomez the correct code for the video is this. Once you use the correct code the test suite should appear again.

<iframe id="video" width="560" height="315" src="https://www.youtube.com/embed/hs1HoLs4SD0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.