querySelector() to get the parent element and querySelectorAll() to get all child nodes with the same class. Here's an example: const parent = document.
確定! 回上一頁