The following JavaScript task:
You need to wrap all the content in a div in a body like this:
was: <body> something </body> was: <body><div id="newdiv"> something </div></body>
I tried using window.document.body.insertAdjacentHTML('afterbegin', '<div id="translatebody">') , but the new div is not inserted as I want: <body><div id="newdiv"></div> something </body>