Hey, congratulations on making it this far into the course, so I've got a simple section for you,
and this is all about applying logic and making the conditions to determine and also providing output
to the user.
So a really simple idea here is where we've got an input field.
We take the value from the input field.
JavaScript behind the scenes is generating a random number from one to 10.
And the objective is to guess that random number.
So this is relatively simple and straightforward, but it is important to understand and to determine,
to be able to work with the conditions and also provide feedback.
So building out these simple type games really helps you when you comes to more complex stuff and having
all of that game logic behind the scenes that you can add to any game that you're developing.
So let me show you.
So we've got an input field and we've got a button.
So we take a guess and we click the guess and it says it was higher.
So let's try to guess.
And I got to correct in two guesses.
Wow.
Can you beat that?
Go ahead.
Try this one out.