Fetches random dog images from the Dog API.
The browser will display "Loading..." and then display a dog image with a button that will display the next random dog image if the HTTP request succeeds or an error message along with the same button if it fails.