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">
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <!-- HTML -->

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

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


1 Like