# How do you test code put on codepen.io?

**URL:** <https://forum.freecodecamp.org/t/how-do-you-test-code-put-on-codepen-io/414570>\
**Category:** General\
**Created:** [August 10, 2020, 12:52pm UTC](https://forum.freecodecamp.org/t/how-do-you-test-code-put-on-codepen-io/414570 "2020-08-10T12:52:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gammalabsgamer](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/gammalabsgamer/32/134209_2.png) [@gammalabsgamer](https://forum.freecodecamp.org/u/gammalabsgamer)\
**Post date:** [August 10, 2020, 12:52pm UTC](https://forum.freecodecamp.org/t/how-do-you-test-code-put-on-codepen-io/414570/1 "2020-08-10T12:52:52Z")

</div>

The coding challenges want me to test my code but I don’t know how to. What am I supposed to do to be able to test it? Or does testing not even matter?

---

<div class="post-metadata">

**Author:** ![Eldorado82](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/eldorado82/32/177146_2.png) [@Eldorado82](https://forum.freecodecamp.org/u/Eldorado82)\
**Post date:** [August 10, 2020, 1:03pm UTC](https://forum.freecodecamp.org/t/how-do-you-test-code-put-on-codepen-io/414570/2 "2020-08-10T13:03:06Z")

</div>

Hi there @gammalabsgamer welcome!

in each project you will see a yellowish window on the lft side of the preview area

 ![image](https://global.discourse-cdn.com/freecodecamp/original/3X/b/c/bc19c6913604f1c3bd322685c944f77fb8093a69.png)

where is written “Select Test Suite” you choose the project you currently work on and see what passed and what are errors. beside, you need to leave in window the` <script>` text that you see in the left window and write your code beneath

---

<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:** [August 10, 2020, 2:18pm UTC](https://forum.freecodecamp.org/t/how-do-you-test-code-put-on-codepen-io/414570/3 "2020-08-10T14:18:00Z")

</div>

Every project has a link to the to a template with the test suite. Click the “Fork” button (bottom right). To make a copy to your own CodePen account. Change the name of the pen, build the project, and click the “Run Tests” button.

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [June 1, 2021, 6:43pm UTC](https://forum.freecodecamp.org/t/how-do-you-test-code-put-on-codepen-io/414570/4 "2021-06-01T18:43:46Z")

</div>

Closed on June 1, 2021, 6:43pm UTC


