how to access a class with query selector code example
Example 1: js queryselector names
// This selects the first element with that name
document.querySelector('[name="your-selector-name-here"]');
Example 2: document.queryselectorall extract all href element
[].forEach.call( document.querySelectorAll('img.PinImageImg'),
function fn(elem){
console.log(elem.src);
});