See how this is all is on one line? The browser doesn't see any HTML to add a break return. So you will only see the seperate lines when you view the source

Hey you are using Function countToTen()
Temp (nonglobal): 10
1
2
3
4
5
6
7
8
9

$functionReturn is: 10

Notice this temp is still 0. That is the issue with varible scope. $temp: 0
A small issue with using double quotes is it directly adds the varible valute in without using a . so if I put the $ before temp it displays the value 0. Example: 0
This is why I try to use single quotes to make it more legible for me (Notepad++ varible highlighting, etc.)