Most websites are more than simple console output.

They have images, headers, links and more. Things we can't achieve through just JavaScript.