+ target.innerHTML with loops

Recommended Posts

Q1: Why does the + target.innerHTML added at the end (see code below) appear in ascending order on the web page rather than descending like it does in the console.log?

I do realize that you can achieve descending result by adding + target.innerHTML in the front to match console.log but I'm curious why when added to the end it gives a ascending order rather than descending order?

Here's the code from that lesson 3.52 minute mark of chapter 7 video part 3 Loops: