A browser displays these messages every time it downloads a file. Why would we place the lines of code inside a function?

Because we want to reuse them multiple timesBecause we're displaying something in the console

We'd place them inside a function if we want to reuse them multiple times.