Subresource Integrity Script Attributes
202 words.
I discovered something new so I thought I would write it down (I retain knowledge better after I write it down.) I was reading up on “Bootstrap,” a Javascript framework for creating responsive web sites. (Someone in my Twitter timeline said they were learning to use it while going through Freecodecamp courses.) I had never heard of it before, but then I’m not always up on the latest, greatest programming thing, especially when it comes to Javascript.
It’s not terribly clear what Bootstrap *is* just from reading the web site, so I downloaded the zip file so I could open it up and look at it. It’s apparently a framework-a CSS file and a Javavscript file, in case you were wondering. It’s a bit similar in concept to jQuery, except where jQuery is a completely generic set of tools, Bootstrap is apparently a specific framework for developing a particular kind of web site. (Presumably, the popular kind.)
Anyway, that’s not the point of this post. The point is, I looked at the source for their “Bootstrap Starter Template,” as one does when figuring out something new. Down at the bottom of the source, where the javascript is loaded, I found this curious