Hello, in this JavaScript video, I am going to cover console output. Up till now we haven't actually done anything in particular, in terms of you know, visual result, this has remained the same. Yeah, we've got some errors when we've you know, specifically tried to create them. But you know, we don't want arrows. So first of all, let's get rid of the console output simply allows you to a point in this console. To do that really simple.
So I'm going to output this variable to console dot log. And all programming languages will have some sort of console output equipment. They both print in the name variable. Go back refresh, it puts in. If, for example, I do console dot log, and I put in quotation marks just a string hello, world. Well, you can just put a number directly.
So console dot log, you know, knowing. I mean, that's why back to the noise. And literally any valid JavaScript code can go here. So if you, you know, call a function, you can put that there as well, obviously, we haven't cover that. But literally, anything that you can do anywhere else you can put here pretty much including mathematical operators. So once we cover, you know, mathematical operators, feel free to come back, use that math knowledge and put it into console log.
That's it for logging to the console. If you have any questions, feel free to pop me a message, the GitHub link to all of the source code will also be available. So feel free to take a look at that, and I look forward to seeing you in the next video.