Creating a simple guess the number game using JavaScript*

Default game look can be seen below

Alt text

Below is what happens when the correct guess is made

Alt text