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

**URL:** <https://forum.freecodecamp.org/t/test-runner-when-making-projects-goes-away-when-i-enter-my-code/465958>\
**Category:** General\
**Created:** [June 21, 2021, 8:00pm UTC](https://forum.freecodecamp.org/t/test-runner-when-making-projects-goes-away-when-i-enter-my-code/465958 "2021-06-21T20:00:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![arathgomez](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/arathgomez/32/217871_2.png) [@arathgomez](https://forum.freecodecamp.org/u/arathgomez)\
**Post date:** [June 21, 2021, 8:00pm UTC](https://forum.freecodecamp.org/t/test-runner-when-making-projects-goes-away-when-i-enter-my-code/465958/1 "2021-06-21T20:00:51Z")

</div>

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](https://codepen.io/arathhotboy/pen/JjWxBLj)  
And heres the link to a new page with no code in it (as you can see the test thingy is there): [New page](https://codepen.io/pen?template=MJjpwO)

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

---

<div class="post-metadata">

**Author:** ![jwilkins.oboe](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jwilkins.oboe/32/179497_2.png) [@jwilkins.oboe](https://forum.freecodecamp.org/u/jwilkins.oboe)\
**Post date:** [June 21, 2021, 8:44pm UTC](https://forum.freecodecamp.org/t/test-runner-when-making-projects-goes-away-when-i-enter-my-code/465958/2 "2021-06-21T20:44:02Z")

</div>

Hi @arathgomez !

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

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

```

---

<div class="post-metadata">

**Author:** ![ArielLeslie](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/arielleslie/32/264841_2.png) [@ArielLeslie](https://forum.freecodecamp.org/u/ArielLeslie)\
**Post date:** [June 21, 2021, 8:47pm UTC](https://forum.freecodecamp.org/t/test-runner-when-making-projects-goes-away-when-i-enter-my-code/465958/3 "2021-06-21T20:47:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![jwilkins.oboe](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jwilkins.oboe/32/179497_2.png) [@jwilkins.oboe](https://forum.freecodecamp.org/u/jwilkins.oboe)\
**Post date:** [June 21, 2021, 8:52pm UTC](https://forum.freecodecamp.org/t/test-runner-when-making-projects-goes-away-when-i-enter-my-code/465958/4 "2021-06-21T20:52:08Z")

</div>

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.

```auto
<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>

```

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [December 21, 2021, 8:52am UTC](https://forum.freecodecamp.org/t/test-runner-when-making-projects-goes-away-when-i-enter-my-code/465958/5 "2021-12-21T08:52:45Z")

</div>

Closed on December 21, 2021, 8:52am UTC

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