Testing code using CDN Link in Visual Studio Code

Hi guys,

Was wondering if its possible and how would I be able to run the tests for the Survey forum using the CDN link: https://gitcdn.link/repo/freeCodeCamp/testable-projects-fcc/master/build/bundle.js

I coded my project on Visual Studio Code, and I use Google Chrome.

Thank~

2 Likes

just add:

<script src="https://gitcdn.link/repo/freeCodeCamp/testable-projects-fcc/master/build/bundle.js"></script>

if you use a basic index.html file

7 Likes

Does the placement of the line matter? if so, where should it be put in the html code?

It is best to place the test script right above the closing body tag </body>.

Also, the current test script url is:

https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js

2 Likes