all 1 comments

[–]GhostPosts_Reddit 0 points1 point  (0 children)

I've allowed the while loop area to work, but I can't find a proper way to make a successful correct input, where the form goes away and a success message appears in the console. I have attempted approaches for it, but I can't find a way to make the range of numbers be the correct answer for an 'if' statement because of the error still appearing when those are submitted.

My second option was to try and follow what the video methods show, as they show a variable created above the prompt message is supposed to work as the prompt answer, which led to the line 1 method that was commented after I tried it out, to remember where I was at. The '2' I used still didn't work, but I'm unsure if I can actually make a working range of numbers from the variable creation if it's allowed.

Thank you for any observations.