how to get body in javascript code example Example: javascript find document body const body = document.body;