querySelector() method. Where before the className property retrieved the class name for the element, we can repurpose it here to assign a class to the element.
確定! 回上一頁