The instruction really was not clear on this section, I got stuck multiple times and decide to publish some hints and results to help people out.
This design of the entire course is beautiful and interactive, but it was definitely the most painful experience that I have had, even though I know a bit of jQuery already. I can see beginners being deterred forever if this is their first introduction to jQuery.
If you want hints, read this section. If you want answers, skip to the next section. Caution, either way, there're spoilers.
I'd like to do more of these troubleshooting blog posts and tutorial videos (check out some existing ones), especially for Codecademy, feel free to request!
Part 1. Clarification on the prompt
"We're making progress on our page, and it's close to being useful. The next step will be moving the code we have been working on into a handler. Let's start by wrapping our previous code in a click handler for the buttons using the method."
Is rather unclear. What it means to say is that modify your codes so that they only are run, when the button is clicked, i.e. you will need a On function with an event handler 'click'. You will have to wrap all your previous codes in it.
The final result is that when the button is clicked, the message is appended and the button will disappear. So you will have to do something about the commented out line of button.remove too.
Part 2. Answers
Sunday, March 10, 2013
Manipulate smart objects in Adobe Photoshop
What is a domain name system (DNS)? How stuff works explains it in a very good graph I was very confused by the Wikipedia explanatio...
The bogus request from P2PU to hunt for HTML tags in real life has yielded a lot of good thoughts. My first impression was that this is stup...
Dilys Sun Got a question about web development dev bootcamps? Ask them here or @i_stanford Your question shall be answered by myself, othe...