get body from javascript code example Example: javascript find document body const body = document.body;