Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I learned the hard way that you can self-close a script tag (or at least that is how it used to be). I spent forever trying to figure out why my code wasn't executing only to realize I had done <script ... /> instead of <script ...></script>
-
dshorten5578yIt's self closing on my text editor but by default it thinks I'm going to write the script in between the tags and not reference an external file its just i forgot that detail and so I pointed to the external file and didn't check to see if it was type or src 🙈
-
I'm also interested in learning angular.
Are you learning it from an online course? if yes, is it based on video lectures or is an interactive course?
also, which website are you using?
I am currently learning angular.js and in index.html I call two different controller files. I have spent the last 5 hours of my life looking for the error when the issue was that when I opened the script tag I didn't notice that type="controller.js" instead of src="controller.js" because of auto finish please kill me now for this terrible mistake that has almost annoyed the fuck out of me and forced me to walk away from my computer on multiple occasions to try and figure out the issue
undefined