How to display a message when given number is between the range using JavaScript ?
In this article, we will learn to display a message when a number is between the given range using JavaScript. We take a number from the user and tell the user whether it is in between a range or not, in our case, the range is 1 to 10. Approach: We create a button and add a click event listener to i