0
âClone errorâ when using document.createElement(âLIâ)
Hello, I am trying to use document.createElement(âLIâ) to create a new element. When I console.log the new element, I was expecting<Li></Li>, but instead an error occurs. Can someone advise on whatâs wrong? Regards Ben
2 Answers
+ 1
I'm not sure why this happens. It doesnt appear to be happening for me.
https://code.sololearn.com/W1ETqpGl9uAM/?ref=app
Could you send your whole code?
0
hi brian, here it is:
https://code.sololearn.com/WkA90Dkag53x/?ref=app