All right, this one's going to be a little bit more advanced than the last section because we're going
to be building on that, creating a dynamic welcome message depending on the time.
So this is a customized message.
It's also going to take the input and it's going to say, depending on the time, it's going to give
you a different message back using a bunch of conditions in order to make this happen.
We've got that listeners, of course, query selectors were updating the success and the text using
the date object JavaScript object, updating the background color, as well as suggesting in our HTML.
So this is what it looks like.
I know.
Very plain.
Got one button, you click the button, it gives you the message.
So all of this stuff is happening behind the scenes here where it's calculating the time of day and
then it's giving you an output accordingly and you can also adjust it.
We do have a variable that's going to be adjustable so that you can use that variable in order to adjust
the time of day as needed.