Need to use a third-party JavaScript or CSS library? That’s extremely common on CodePen! We encourage you to use whatever external resources you need.

It’s easy to find CDN-hosted copies of thousands of libraries by using our Type Ahead feature.

Here’s how it works:

  1. Open Pen Settings
  2. Go to the JavaScript or CSS tab
  3. Start typing into the External Resource input area

You can also paste in full URL’s here to assets hosted anywhere you like. External assets can even be hosted right on CodePen, or other Pens! See our complete documentation.

Was this article helpful?