Is it possible to create an HTML5 file that contains HTML, CSS, JS, NoUISlider, and Jquery code (not links to other files)?

Viewed 18

I have created a single working HTML5 file that contains HTML, CSS and JS. I would like to add (to the same file) NoUISlider and JQuery so that I can distribute a single file, rather than distributing a folder containing minified files of the above. Is this possible?.... Thank you.

1 Answers

Replace the tags that reference external files with equivalent tags that contain the contents of those files.

Replace

<link href="nouislider.min.css" rel="stylesheet">
<link href="customstyle.css" rel="stylesheet">
<script src="nouislider.js"></script>
<script src="wNumb.js"></script>

with

<style>
copy contents of nuuislider.min.css here
</style>
<style>
copy contents of customstyle.css here
</style>
<script>
copy contents of nouislider.js here
</script>
<script>
copy contents of wNumb.js here
</script>
Related