I don't know JS but I'm thinking that you are asking the user to type a number when num is <25 OR >75 and the mod2 is 0
BUT num is 0 at the start, so it will always ask for a number.
You should ask the user for a number THEN check if the number is <25, >75 and mod2 is 0.
Alert should be inside the loop, not the prompt
It's working now
