In Codepen there is a function to add links to the Javascript section (eg for jQuery, or others). Now I want to recreate a project from Code-Pen with Visual Studio Code. But I don't know how to include these links in VS code (it doesn't work with in HTML). Below is a more detailed picture of what I mean. Does anyone have a tip, thanks!
Picture-Link: https://i.stack.imgur.com/Qy3Df.png
Try simply adding the link to the cdn in a script tag on your HTML file
<script
src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
crossorigin="anonymous">
</script>
Add the CDN link to the
<html>
<head>
<script
src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
crossorigin="anonymous"></script>
</head>
<body>
....
....
....
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.