再透過一個語法 appendChild ,增加子節點,並增加到變數 str 當中。 ... 另外可以透過之前學過的 setAttribute 語法,動態新增一個 class 來優化,使 ...
確定! 回上一頁