Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

So I have about some javascript/jquery files that are being \"called upon\" exte

ID: 3912052 • Letter: S

Question

So I have about some javascript/jquery files that are being "called upon" externally.

Meaning every time the page loads it reaches out to the web browser to use the functions. How can I host these scripts locally, and bundle them? My end goal would be to have them in one place and call them with a @Scripts.Render. Should I just make a new folder under scripts and then make new script files, copy and paste the functions and then @Scripts.Render("~/Scripts/NewFolder") or would I call each individual script. like @Scripts.Render("~/Scripts/Scriptfile")

Explanation / Answer

Hi Sir, as per your approach that you want them to have locally under a single folder under scripts, but there a couple of disadvantages to this, let me explain you:-

Please let me know in case of any clarifications required. Thanks!

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote