I know I've asked this before but

How do you get the CDN in my code?

Locally you can add the script element to the HTML, put it right before the closing body tag.

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <!-- HTML -->

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

On Codepen you can add it under the settings (Settings > JS > paste script URL into one of the bottom boxes)

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

1 Like