+ 4
Because there is no id with name body , maybe you are looking to get body tag ? If yes then use document.getElememtsByTagName("body")[0] ;
13th Feb 2021, 10:58 AM
Abhay
Abhay - avatar