Javascript – HTML Collection – add class to first div
I am using getElementsByClassName to select a single div by it's unique class name. For some reason, using querySelector is not working to select this div by it's unique class name, it returns "null." I am trying to make this…