CONSOLE ERROR: line 10: Uncaught NotFoundError: Failed to execute 'appendChild' on 'Node': The new child element is null.