queryselector class starts with code example Example: javascript queryselector starts with document.querySelector("[id^='someId']") // id starts with someId