The querySelectorAll() method will take any valid CSS selector and return a collection of all elements that match the selector code example
Example: js queryselector find without attribute
var test = document.querySelectorAll('input[value][type="checkbox"]:not([value=""])');