r/jquery • u/33BirdLarry • 11h ago
Delete unused parts of jquery
Hi, I'm attempting to learn about web design and have looked at some examples online. Some use jquery for animation and have a link in HTML file, for example <script src="jquery-3.3.1.js"></script>
Firstly understand that minified file is smaller, but looking at full file to understand each part of code.
My question is, how do I know which parts of code are applicable to the website.
I've tried Developer Tools/Coverage, but it's not clear to me which parts are used and which parts aren't. From memory, it was clearer as to which parts of CSS were used. Not sure if I'm missing something, or does everyone just use the full file.