how to get querySelectorAll id code example Example: javascript querySelectorAll id ends with console.log(document.querySelectorAll("[id$=foo]"));