Use the `querySelector` method to get an element by data attribute, e.g. `document.querySelector('[data-id="box1"]')`.
確定! 回上一頁