Added: 1 year ago
From: FishThatDrown
Views: 2,185
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (20)

Sign In or Sign Up now to post a comment!
  • I recommend after you set the variable. var name = prompt("Please enter your name"); , Go ahead and put name = name.toLowerCase(); So it doesn't matter the case which is entered because you are making it all lowercase and make sure you change the if statement to if(name == "ryan") instead of "Ryan"

  • Thanks i was able to prank my friands with this

  • cool tutorials fogtalk 97%

  • will it work if we type "ryan" instead of "Ryan"

  • @ssibi100 No, because we are checking for "Ryan" not "ryan".

  • man i love these

  • These are "BASIC" statement

  • How would i open this with chrom?

  • you own thnx

  • i copied the coding eactly as you put it but when i type the wrong name the else message doesn't pop u?

  • lmao if and else is the best!

  • Thank you for these great videos. Please keep making them.

  • i find javascript to be really simple to learn after I see this video...cheers..

  • awesome I own

  • Hey my names David!!

  • Comment removed

  • @TheVickrispy HA!.....that's really not funny, sorry.

  • Comment removed

  • Cool! 

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more