Learn to code | Codecademy
You need JavaScript enabled to use this service.
Hey! Let's get to know each other. What's your name? Type it with quotes around it like this "Ryan" >
Learn to code
Codecademy is the easiest way to learn how to code. It's interactive, fun, and you can do it with your friends.
Get Started (it's free)
Program Websites and More
Learning with Codecademy will put you on the path to building great websites, games, and apps.
Learn with Friends
Keep tabs on your friends' progress and make sure you're learning more - faster!
Track and Share Your Progress
Start learning - and don't stop. See how fast you're learning and stay motivated.
\"Ryan\" ","hint":null,"expect_error":false,"default_code":null,"test_functions":"return typeof output === 'string';","point_value":10,"index":0,"show_editor":false,"submissions":[{"entry":"\"uelsimon\"","updated_at":"2011-08-19T14:15:26-07:00"}],"completed":false,"path":"/lessons/4e4c00a603c7c10538000002/exercises/4e4c00a603c7c10538000003.json"},{"_id":"4e4c00a603c7c10538000004","name":"The Long and Short of Things","entry":"Well done! How long is your name? Find out by typing your name in quotes and ending it with .length\n\nFor me, that'd be \"Ryan\".length","hint":null,"expect_error":false,"default_code":null,"test_functions":"return typeof output === 'number';","point_value":10,"index":1,"show_editor":false,"submissions":[],"completed":true,"path":"/lessons/4e4c00a603c7c10538000002/exercises/4e4c00a603c7c10538000004.json"},{"_id":"4e4c00a603c7c10538000005","name":"Getting Old","entry":"Great job! Now, let's do some math. You can do math through programming! To calculate 2+2, for instance, just type 2+2. Try it now!","hint":null,"expect_error":false,"default_code":null,"test_functions":"return output === 4 && typeof output === 'number';","point_value":10,"index":2,"show_editor":false,"submissions":[],"completed":true,"path":"/lessons/4e4c00a603c7c10538000002/exercises/4e4c00a603c7c10538000005.json"},{"_id":"4e4c00a603c7c10538000006","name":"Numbers and More","entry":"See what happened? You can use the command line to do basic math operations. Try playing around some more. You can use * for multiplication and / for division if you want.","hint":null,"expect_error":false,"default_code":null,"test_functions":"return typeof output === 'number';","point_value":0,"index":3,"show_editor":false,"submissions":[],"completed":true,"path":"/lessons/4e4c00a603c7c10538000002/exercises/4e4c00a603c7c10538000006.json"},{"_id":"4e4c00a603c7c10538000007","name":"Messing Up","entry":"There are some things you can't do in the console, though. Try typing your name in the command line without any quotes.","hint":null,"expect_error":true,"default_code":null,"test_functions":"return true;","point_value":10,"index":4,"show_editor":false,"submissions":[],"completed":false,"path":"/lessons/4e4c00a603c7c10538000002/exercises/4e4c00a603c7c10538000007.json"}]; - ©Ryzac, Inc.
- Blog
- About Us
- Contact Us
- Terms
