Can anyone help me how I can able to use CDN in JavaScript? I was trying to use tone.js for my script. Below I have attached my html file:
<script src="https://cdnjs.cloudflare.com/ajax/libs/tone/14.0.2/Tone.min.js"></script>
<script src=tonetutorial.js></script>
<body>
<h1>Music Maker</h1>
<div class="drums">
<div class="kick">
<input type="Checkbox">
</div>
</div>
</body>
Any help would be appreciated.