Also, mine comes a little late because I got really hung up on the iterateAndOperate functions in the last problem. I feel that this wasn't covered in great detail in any of Week 2's materials/readings or in Crockford's video and I'm not one to complain or think outside of the box and try things but I feel it was a bit advanced from Week 1's materials right into Week 2's yet there was no clear mention of this anywhere in the readings/materials except looking at other web sites and blogs. I speak for myself but also for the silent ones out there that may have struggled a bit on this one too! Just a thought, not so much a gripe as I did complete the assignment, barely ;)
My week 2 track 1 assignment is here http://sethwatson.wordpress.com/. I'm still working on the last homework question. Will update later today with that one. Thank you everyone for the awesome posts!
Here is my week2 assignments and homework: http://jscript101.blogspot.com/2011/02/week-2-assignments.html
Sorry for being late, got bogged down by college work.
Also, I had a query: is multiple inheritace allowed in Javascript? If so, how does it work?
function lifeUniverseEverything () {
return 42;
}
String.prototype.lifeUniverseEverything=lifeUniverseEverything;
var a = "asdf";
show(a.life_universe_everything);
work in progress here: http://p2pu-js101.appspot.com/week2
Creating an app is a wonderful way to submit answers :-) Especially like your button to run the Javascript code.
ok, filled missing answers at http://p2pu-js101.appspot.com/week2
ps. thanks Parag ;)
Hi Parag,
How does it work? the button to run the JavaScript code.
Thanks,
Oscar
hi Oscar this is the html button code:
"<"button type="submit" onClick="assignments()">
Run iterateAndOperate
"<"/button>
(without "")
Whenever you are curious give a look to the page source (Ctrl-u on Firefox and Chrome).
ciao
edoardo
I see what you did Eduardo.
Thank you
Hi,
This is my blog and homework for week 2:
http://www.oscarpagani.com/p2pu/2011/02/08/javascript-101-week-2/
Thanks,
Oscar
Only got through with a portion of week 2 assignment - I've update my blog post here. (Turning in assignment late, feels like highschool all over again, sheesh)
http://atlville.blogspot.com/2011/02/assignment-2.html
My Week2 Assignments are posted here: http://js101blog.thecreativearmada.com/post/3217241421/javascript-101-as...
Also, mine comes a little late because I got really hung up on the iterateAndOperate functions in the last problem. I feel that this wasn't covered in great detail in any of Week 2's materials/readings or in Crockford's video and I'm not one to complain or think outside of the box and try things but I feel it was a bit advanced from Week 1's materials right into Week 2's yet there was no clear mention of this anywhere in the readings/materials except looking at other web sites and blogs. I speak for myself but also for the silent ones out there that may have struggled a bit on this one too! Just a thought, not so much a gripe as I did complete the assignment, barely ;)
Hi Nick,
I am very glad you brought this up. I am looking forward to more feedback (in fact we will open a feedback survey mid-course).
Nick would it be possible for you to also specify which parts of the problem you felt were difficult and not covered in the video or reading material?
--
Regards
Parag
My week 2 track 1 assignment is here http://sethwatson.wordpress.com/. I'm still working on the last homework question. Will update later today with that one. Thank you everyone for the awesome posts!
Here is my week2 assignments and homework:
http://jscript101.blogspot.com/2011/02/week-2-assignments.html
Sorry for being late, got bogged down by college work.
Also, I had a query: is multiple inheritace allowed in Javascript? If so, how does it work?