CDN to run tests not working

Hi!
Could someone, please, help me understand why the CDN link to run the tests isn’t working. I did the same thing for the survey form project and it worked perfectly. However, it didn’t work on my product landing page, and it’s not working on this project either.

I’m using VS code, and uploading the code to GitHub.

Here’s the code:

<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- Styling -->
    <link href="https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400&display=swap" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="style.css"/>
    <!-- Title -->
    <title>JS String Methods</title>
    <!-- free code camp test suit -->
    <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
    <!-- Highlight JS-->
    <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.0.0/styles/default.min.css">
    <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.0.0/highlight.min.js"></script>
    <script>hljs.initHighlightingOnLoad();</script>
  </head>
  <body>I'm omitting the content that goes here</body>
</html>

Link for the full code:

Thank you for your time.

Hello there,

You should try moving it out of the head element. Try in the body.

Hope this helps

1 Like

While on the browser, you can open the developer console by clicking “f12” on keyboard and see if there’s any error.

It could be due to CORS policy, but you haven’t provided any information about the error you have received.

1 Like

This worked. Thank you!