Get the parent of an element. Hello, world! let h1 = document.querySelector('h1'); // returns the #app element let parent = h1.parentNode;
確定! 回上一頁