Weird project error (for me at least) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Weird project error (for me at least)

So, I was coding a meme website, then once I finished, it worked fine, but there is an error in the console, it says "Uncaught TypeError: Failed to execute 'removeChild' on 'Node': Parameter 1 is not type of node" at line 74. I tried looking there but as far as I know it is wright. Can someone help me on this? https://code.sololearn.com/WBG8CAN0BzyF/?ref=app https://code.sololearn.com/WBG8CAN0BzyF/?ref=app

17th Aug 2022, 2:58 AM
RayZ
RayZ - avatar
5 Answers
+ 4
Aji Ardiles document.body.removeChild(dr[0]);
17th Aug 2022, 3:33 AM
A͢J
A͢J - avatar
+ 2
Code?
17th Aug 2022, 3:19 AM
A͢J
A͢J - avatar
+ 2
Thank you A͢J
17th Aug 2022, 3:37 AM
RayZ
RayZ - avatar
+ 1
Wait a minute A͢J
17th Aug 2022, 3:23 AM
RayZ
RayZ - avatar
17th Aug 2022, 3:24 AM
RayZ
RayZ - avatar