How do I run the tests in codepen to make sure my project passes?
Saw this in the example page https://codepen.io/freeCodeCamp/full/zNqgVx
note my page is not done yet but here it is.
https://codepen.io/pegabear/pen/VwaxqBM
thank you.
it runs automatically. just continue and write CSS or javascript codes
- Keep the test script when forking the pen (
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>).- The test script should be included, with all tests passing, when you submit your projects.
- Codepen provides the boilerplate for you. It only expects the code youâd put within the
bodyelement in HTML. (No need to include thebodytags). And it only expect the code youâd put withing thestyletags in CSS. (No need to include thestyletags). For anything you want to add to the<head>element click on the âSettingsâ button, then HTML and add it into the âStuff for <head>â box.
2 Likes
@anon58011934, it does not run automatically.
Userâs have to select the project they are working on and then click the âRun Testsâ button.
1 Like