Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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.
Thank you so much! I have started to learn js from one book, and there for now is only basic staff, but yes, thank you, ill wrap my code like that in the future learning.
Now I see everything is alright. Maybe I did understand something wrong. I thought the message "name not correct" will appear immediately after I wrote incorrectly the name, but its not. My mistake
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")...