# Bar Chart test-suite issue codesandbox

**URL:** <https://forum.freecodecamp.org/t/bar-chart-test-suite-issue-codesandbox/636322>\
**Category:** General\
**Created:** [September 8, 2023, 10:22am UTC](https://forum.freecodecamp.org/t/bar-chart-test-suite-issue-codesandbox/636322 "2023-09-08T10:22:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Loki7778](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/loki7778/32/320953_2.png) [@Loki7778](https://forum.freecodecamp.org/u/Loki7778)\
**Post date:** [September 8, 2023, 10:22am UTC](https://forum.freecodecamp.org/t/bar-chart-test-suite-issue-codesandbox/636322/1 "2023-09-08T10:22:54Z")

</div>

Hey Buddies!

I was working on my Bar-Chart test and wanted to test my Chart.  
But the test suite just doesn´t show up. May sombody help me out to get it working?

I´m using codesandbox instead of codepen.

Here is my project so far:

> **[suspicious-scott-mdxs7h - CodeSandbox](https://codesandbox.io/s/suspicious-scott-mdxs7h?file=%2Fsrc%2Findex.html)**
>
> suspicious-scott-mdxs7h by terra7778 using ajax, d3

Thanks in advance and kind regards!

---

<div class="post-metadata">

**Author:** ![Loki7778](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/loki7778/32/320953_2.png) [@Loki7778](https://forum.freecodecamp.org/u/Loki7778)\
**Post date:** [September 8, 2023, 8:34pm UTC](https://forum.freecodecamp.org/t/bar-chart-test-suite-issue-codesandbox/636322/2 "2023-09-08T20:34:05Z")

</div>

I tried imitating a working Project from [Visualize Data with a Bar Chart - CodeSandbox](https://codesandbox.io/s/olkh8?file=/package.json:326-428) as well. But it also didn´t work 😕

---

<div class="post-metadata">

**Author:** ![igorgetmeabrain](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/igorgetmeabrain/32/314517_2.png) [@igorgetmeabrain](https://forum.freecodecamp.org/u/igorgetmeabrain)\
**Post date:** [September 8, 2023, 8:53pm UTC](https://forum.freecodecamp.org/t/bar-chart-test-suite-issue-codesandbox/636322/3 "2023-09-08T20:53:59Z")

</div>

Move your `index.html` file out of the src folder. It should fix the problem, once you’ve changed the file path for `index.js`.

---

<div class="post-metadata">

**Author:** ![Loki7778](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/loki7778/32/320953_2.png) [@Loki7778](https://forum.freecodecamp.org/u/Loki7778)\
**Post date:** [September 8, 2023, 8:57pm UTC](https://forum.freecodecamp.org/t/bar-chart-test-suite-issue-codesandbox/636322/4 "2023-09-08T20:57:57Z")

</div>

That worked… Thank you very much. Was just going to move to Codepen. Can you explain why it didn`t work with the html-file being in the src-folder?

---

<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:** [March 9, 2024, 8:58am UTC](https://forum.freecodecamp.org/t/bar-chart-test-suite-issue-codesandbox/636322/5 "2024-03-09T08:58:47Z")

</div>

Closed on March 9, 2024, 8:58am UTC

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