Bryan CortezFront End Web Development Techdegree Student 6,161 Points
Why is the function print message there? I don't see that we defined what the 'message' is. Why does it need to be there
I remember he brought it up in a previous video but I didn't understand the logic behind it. Can someone explain it to me? Thanks in Advance.
The 'message' is a parameter which represents the argument which is input in the bracket when you use the print() function. You can use it like: print("any thing here"); then like the code inside of the print(): it will use the write() function to out put the string "any thing here" to the html file.