4 ms·
Well sorry I was in a hurry when I typed the above comment Well the body can’t have any dom elements according to the challenger That means I had to create th
by rukshn 6y ago
Well sorry I was in a hurry when I typed the above comment
Well the body can’t have any dom elements according to the challenger
That means I had to create the dom elements as well and I was unable to figure out a way within the given character limit
- tdeck 6y agoI wonder if document.write() would work for you. The old-fashioned APIs from before the DOM era (e.g innerHTML, innerText) generally seem to be a lot shorter although they're still a bit verbose.
- rukshn 6y agoYes I guess that was the right way all along, I saw a comment on this thread using innerHtml and write