Please help with tests of my first project

Hi, I have completed my first project (Tribute
Page) even submitted the solution but I would like to run the tests against it. How can I do that? the link on the project page (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js) naturally brings some JavaScript. What am I supposed to do with it? How can I use this JS to run tests on my project?

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36.

Challenge: Tribute Page

Link to the challenge:

Hi @emglus.

Make sure you have imported the test bundle at the top of your HTML:

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

You should see a Select Test Suite overlay to the left of your preview pane. Select “Tribute Page” from the drop down and click Run Tests.

Here is my pen as an example: https://codepen.io/leonfeng/pen/MzYGxd

Thanks a million! Works for me.

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