Urgent urgent someone know
CodePudding user response:
- List1 & lt;/li>
- List2 & lt;/li>
- List3 & lt;/li>
<script>
//loaded
Window. The onl oad=function () {
Var ul=document. QuerySelector (' ul ')
Var li=document. The createElement method (' li ')
Li. The innerText='I am a new'
Ul. The appendChild (li)
}
</script>