用JS設定一個人的程式的話

unfoldcheck發表於2020-07-28

物件(Object)屬性(property)方法(method); 關鍵這些

How to make a girlfriend

The first You need write css

<div>
    <li></li>
    <li></li>
    <li></li>
</div>

setAttribute than getElement like

for(var i=0;i < name.getElementsByTagName("li").length;i++){ alert(typeof document.getElementsByTagName("li")[i];) }

The now! you can say you have "three" girl friend, the name is "li"! Yes!

相關文章