MDN querySelector.selectedOptions code example Example: queryselector document.querySelector(".example");