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.
@anon58011934, it does not run automatically.
User’s have to select the project they are working on and then click the “Run Tests” button.