Skip to content

Conversation

@Peter654q
Copy link

No description provided.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than binding on an anonymous function, you need to bind the this via set it as the listener of addEventListener.

@snowmantw
Copy link
Contributor

You must correct your homework as soon as possible, or you really need to perform well in the following classes. If you have any question, ask me. I don't mind you ask me 100 times about your difficulties unless you're apparently don't listen to what I answer you. The only thing worse than that is you just keep your homework as this.

@Peter654q
Copy link
Author

Sorry, I'm not really understand how to use IRC so can I get your email to ask you some questions about javascript?
Cause i'm too shy to ask questions in public , so i want to have some privacy, but I'm really want to do good job in this class , and I really need some help.
Please help me for this work.

@snowmantw
Copy link
Contributor

Fair enough. I could understand most of college students are just used to asking no questions because of our culture and education, as a result it's difficult to conquer these puzzles after the class. And that's why I left comments one by one: it's not too late to ask for help and it's not embarrassing, since from my experience people like you can even learn more than your silent classmates, which are with similar problems but just give it up.

Therefore, please don't feel bad, and just try to fix what I've commented. Firstly I think you need to run your program to see what's wrong with that, because obvious errors will emerge in your console. If you don't know how to run the program, here is the link:

https://github.com/MAP-NCU2015/Lesson-03-JavaScriptBestPratice-HW/blob/homework/homework/ABOUT%20HOMEWORK.md

If you're using Windows, python has builds for that (2.x is better):

https://www.python.org/downloads/windows/

And I think you can use the same command in the cmd.exe. If there are any unexpected error, you can ask me, and we can find out whether there are other options for that.

You need to run the unit test part with Karma as I post as well:

https://github.com/MAP-NCU2015/Lesson-03-JavaScriptBestPratice-HW/blob/homework/homework/ABOUT%20TEST.md

It needs Node.js and NPM:

https://nodejs.org/en/

Again, if you encounter any issues you can just ask them.

Secondly, about how to ask me questions, I feel that you can just comment on PR page like this. Since it is more convenient to see the code with the comments. Unless you have any issues irrelevant to the code and homework (but relate to coding and our course), you can try to send mail to gweng@mozilla.com, that's my company mail and I read it frequently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants