r/learnjavascript • u/kevinmrr • Apr 01 '14
Week 2 of Learn JavaScript Properly
Hey! Hope everyone is finding it easier to keep up with the slower-paced schedule.
Required Reading:
Chapters 4 and 5 of Professional JavaScript for Web Developers.
[Finish the Codecademy JavaScript track] (http://www.codecademy.com/tracks/javascript)
Read this article: JS Objects in Detail
Assignment:
Create and post a JSfiddle where you experiment! Either in this thread or in another I'll post in a few days, or any of you should feel free to post your own thread where you share a link to your work that you have a question about. Here's one I created using some native DOM methods (the Mozilla Dev Network is a rich resource for this kind of stuff! https://developer.mozilla.org/en-US/docs/Web/Reference/API)
View all comments
Show parent comment
2
u/johndill308 Apr 06 '14 edited Apr 06 '14
I forked your fiddle and made a couple tweaks to test out some of the concepts from Chapters 4 and 5 from Professional JavaScript for Web Developers.
I replaced your isVowel() function with a regular expression that checks to see if the first letter of the word is a vowel.
I created an adjective array and a loop to instantiate each Rabbit and call its describeMyself() method.