New course! Every coder should learn Generative AI!
Try a free lesson0
Help me to fix it! Please
2 Answers
+ 2
In js delete the last line.
+ 1
You need to put onclicks in the right way. You don’t need to write anything inside the brackets of the name of the onclick function, but to get access to click on different elements, use different names of the onclick
<div onclick = "insert()"></div>
<div onclick = "del()"></div>
...