Codeyear from Codecademy
My boyfriend is a massive geek, and I organise Cambridge Geek Nights, so when I saw the Codeyear idea from Codecademy, it looked ideal. They offer the chance to learn to code over the course of a year, with lessons e-mailed to you each week to complete online.
Now, I have a bit of a reputation for being able to break programs, finding bugs in games and so on, but I did not expect to come up against a problem in lesson 3 of week 1! The lesson deals with the declaration and setting of variables, firstly showing you the syntax for declaring a variable (var myName;) and then setting it (myName="Jo"). It then asks you to
Try creating a new variable called myFullName with your first and last names.
Typing var myFullName; results in the hugely helpful error message, “Oops, try again”. After some head scratching and some input from David, we found it wanted the response var myFullName = "Jo Anslow";. The fact that you could combine the variable creation and setting into a single line did not occur to me – in fact it is covered in the next lesson, but they require you to apply it before they introduce it.
I think that Codecademy are probably losing quite a few people at this early stage who would give up thinking they couldn’t understand even the simplest lessons – if I didn’t have David in the house, I would probably have quit myself. I shall persevere for the moment, but I’m concerned about what else I’ll find as I continue.
January 11th, 2012 at 3:14 am
thank you!
i had EXACTLY this problem, and this is the first helpful post i’ve found
please thank your boyfriend for me, too
January 11th, 2012 at 11:48 am
Hi,

actually I was just confronted with the same problem and it didn’t make any sense to me as well, but fortunately your blog helped
Some desperate urge of making my time as useful as I possibly can convinced me to learn code; So far so good
Cheers,
Billy
January 12th, 2012 at 5:36 pm
I had the same problem. This is a clear flaw in their ordering as the lesson immediately after explains that you can combine the two.
Thanks for the solution. I probably would have just given up.
January 12th, 2012 at 11:55 pm
I almost just quit before I found your site. Geez!
January 14th, 2012 at 11:27 am
Thanks, I was having just this problem, luckily I knew it was them and not me (C++ programmer in a former existence!). More problems crop up when you get to replacing substrings in lesson 4 as well….
January 14th, 2012 at 8:12 pm
Having met this same problem, as did every other person accessing this lesson, I am also grateful for the solution. I have also submitted feed back in the hope that this error will be corrected.
January 17th, 2012 at 4:41 pm
Really appreciate this feedback – thanks! We’re fixing how we handle error messages shortly.
April 3rd, 2012 at 1:23 am
You should check out our new site… codeavengers.com
Its a fun tutorial for learning Javascript!