This program give you the chance to see prime and composite numbers together with different styles. You can by two different customized range inputs pick the range of numbers that you want to view, and if you jsut want to see one of the types, you just need select its option, and the program will filter the numbers based on your choice.
1-If you intend to change the range(decrease | increase) you just need change the maxNumber amount:
function initialSettings() {
let settings = {
maxNumber: 1500, //changeable amount
maxValue: 2,
minValue: 2
}
.......
.....
...
2-If you hover on a composite number you will break down the composite number to primes numbers and you'll see it in a moveable box.