What I mean by that is to include the test suite FCC provides to validate your projects. When you read the instructions before starting off a project, don’t you remember reading something like this?:
You can build your project by forking this CodePen pen. Or you can use this CDN link to run the tests in any environment you like:
Once you’re done, submit the URL to your working project with all its tests passing.
That means you need to add a script that links to https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js. After adding the test suite inside your code, you will see a green hamburger menu at the top left of your project. If you click on it, you have an option to select the corresponding project and run the tests. If your project passes all the user stories required to complete that project, that means you are ready to submit your project. But, if the tests fail, you can click on the “Tests” button and you can see what user story you did not pass. This is the purpose of the test suite.
If you don’t know how to add the test suite to your code, copy the below code and paste it at the very top of your HTML code:
The test suite is mandatory and should be kept in your projects even after it is submitted. If your previous projects do not have the test suites, you need to add it to them too.
I hope you understand this looooong post If you don’t understand anything, feel free to tell me. I will try to explain it more simply.