Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. L0L2G00D

    JavaScript How do I get this program to work the way I want it to? Think of prompt as both console.log & user input.

    //can be run in chrome/edge console. const QnA = { 0:`What number do you count first in coding?`, answer0:`0`, 1:`Jeff Bezos is CEO and President of which online retailer?`, answer1:`amazon`, 2:`Which social media app only lets you view pictures and messages for a limited time?`...
  2. L0L2G00D

    JavaScript .every method with function

    If I'm not mistaken, this is from the Codecademy course?
  3. L0L2G00D

    JavaScript How download compatibility Prompt() in Visual Studio Code?

    A few of my friends want me to use Vs code instead of repl.it, but the project I am working on currently uses the Prompt() and Vs throws an error saying Prompt isn't defined. Is there any way to add compatibility because Vs looks better and more accessible than Replit? This is using the...
  4. L0L2G00D

    JavaScript Help with a problem?

    yes, so you can convert it to a string and then it will work. Here's a version I developed thanks to you let pi = Math.PI.toString(); let answer = prompt("can you answer with Pi?") while(0 == 0){ console.log(pi.startsWith(answer)); console.log(pi); answer = prompt("can you answer with...
  5. L0L2G00D

    JavaScript Help with a problem?

    is there any way to figure out if an answer contains a part of pi? let fakePi = 3 fakePi.isPi = true let fakePi = 3.1 fakePi.isPi = true let fakePi = 3.14 fakePi.isPi = true let fakePi = 3.142 fakePi.isPi = false let fakePi = 3.141 fakePi.isPi = true
  6. L0L2G00D

    How do you delete threads?

    I asked a question with no possible answer and did not make any sense whatsoever. After posting it and looking over it I had put in the wrong snippet of some code, knew exactly what to do, and had highlighted a random line within the code which was only slightly related to the problem. I also...
  7. L0L2G00D

    JavaScript Is there any way to get an equation out of a string?

    let equation = prompt("equation?") equation = "5+5" equation = "1-3" equation = "7/3" any ideas? it all needs to be in the same string for the application I might use it for.
  8. L0L2G00D

    How do you delete threads?

    // Code asking for name & checking for numbers let nam = prompt("What would you like to be called?"); while (l == 0) { if (isNaN(+nam) !== true) { if (nam === '69' || nam === '420') { console.log(`( ͡° ͜ʖ ͡°), We don't call people numbers, such as "${nam}" `); nam =...
  9. L0L2G00D

    Read Me Code of Conduct

    apparently, this is the oldest post on the forum. Makes sense.
  10. L0L2G00D

    Tnx to Malcom for helping me get to my profile...

    Tnx to Malcom for helping me get to my profile. https://codeforum.org/threads/how-do-you-make-a-welcoming-post-on-your-profile.2072/post-11758 also tnx to Hassapiko for trying to help too.
  11. L0L2G00D

    How do you make a welcoming post on your profile?

    A long time ago, like maybe when I was 13-15 I searched up 'ghost symbol gif' on the internet. This is what came up and I've been using it ever since. I looked into it again, so that I could redownload it on a new computer, and found out it's all the symbols from this anime. here's the actual...
  12. L0L2G00D

    How do you make a welcoming post on your profile?

    Ok so you click on your name from the dropdown to get to your profile. tnx
  13. L0L2G00D

    How do you make a welcoming post on your profile?

    But how do you do a post is the question
  14. L0L2G00D

    How do you make a welcoming post on your profile?

    This is a suggestion because you should leave this question here because surely I'm not the only one who doesn't know how to make a welcoming post.
  15. L0L2G00D

    so wait, how do you do this?

    so wait, how do you do this?
  16. L0L2G00D

    Fun activity Say hello... in a coding language!

    console.log(Hello Malcolm, or in binary 01001101011000010110110001100011011011110110110001101101 or converted to decimal, 21780691359329389);
  17. L0L2G00D

    JavaScript Easier way to if/or?

    Would I be able to use objects for Multiple answers [/CODE] let answer = prompt("Is the answer yes?") const QuestionOne = { yes: ["yes","ye","ya", "y"], no: ["no", "n"], maybe: ["maybe", m] } if(QuestionOne.yes.indexOf(answer.toLowerCase().trim()) > -1){ console.log('ok') } else {...
  18. L0L2G00D

    JavaScript Easier way to if/or?

    I am making a game in javascript, and was wondering If there was an easier way to check for multiple answers https://replit.com/@L0L2G00D/Quiz-Game#index.js answer = prompt(_Name + "?"); if(answer === 'y' || answer === 'Y' || answer === 'Yes' || answer === 'yes' || answer === 'Ye' || answer...
  19. L0L2G00D

    hi!

    A little while, maybe 2-4 weeks, I need to change some things with it, bc it's for a project.
  20. L0L2G00D

    hi!

    I'm making a game in Javascript. https://replit.com/@L0L2G00D/Quiz-Game#index.js
Back
Top Bottom