+ 2

Why does code written in the head show as if written in body?

I unconsciously wrote all the things I needed to code in the body at the head section. I decided to test out whether it will still work and was pleasantly surprised to see that it worked just as it would have if written in the body section. How is that possible? From all I have read, it points to the fact it shouldn't work https://code.sololearn.com/WSo3qCll8TWs/?ref=app

16th Mar 2020, 6:45 PM
Ahmad Adamu Abdullahi
Ahmad Adamu Abdullahi - avatar
1 Resposta
17th Mar 2020, 7:17 AM
Muhammad Galhoum
Muhammad Galhoum - avatar