0 points

How to Use External Javascript File


dashboard

Posted by @mishka #html #javascript

//Link javascript file in your project
<script type="text/javascript" src="/javascripts/main.js"></script>

//Link javascript file from web (usually found in documentation)
 <script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>
content_copy

Add script at bottom of HTML to link javascript file


>> Browse more code snippets

more_vert