Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. 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. A

    JavaScript Nested if

    Hello! Please tell me someone what s wrong is with this code: var n = "Alice"; var l = "Field"; var name = prompt("Enter your name"); var lastName = prompt("Enter your last name"); if (name === n) { if (lastName === l) { alert("d"); } else { alert("try again")...
  2. A

    JavaScript What is wrong in this code?

    var name = prompt("How is your name?"); if (name = "Alesya" ) { alert("Good day " + name); } else { alert(name + "not correct"); }
Back
Top Bottom