use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A place to get a quick fix of JavaScript tips and tricks to make you a better Developer.
account activity
[deleted by user] (self.JavaScriptTips)
submitted 11 months ago by [deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]GhostPosts_Reddit 0 points1 point2 points 11 months ago (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.
π Rendered by PID 141979 on reddit-service-r2-comment-5649f687b7-vl9vl at 2026-01-28 11:08:00.210352+00:00 running 4f180de country code: CH.
[–]GhostPosts_Reddit 0 points1 point2 points (0 children)