Skill Level: Intermediate
Time Limit: 30 minutes
This is a fun challenge intended to help you develop your skills in Object Oriented Javascript. Here you'll be working to finish an incomplete name generator that with some given input from the user should randomly output a hilarious rap name reminiscent of 90's supergroup, the Wu-Tang Clan.
The expected randomized output should follow these patterns given a user submits the name Ellen
:
- Inspectah Ellen
- E.L.L.E.N. the Chef
- Ellen the Chef
- Inspectah E
- Inspectah Ellen the Chef
NOTE: Your final product should behave somewhat like this. Feel free to make it your own.
- How will you structure your code?
- Did you remember to validate user input?
- What are the differences between class and prototype-based inheritance?
There are many ways to view your code. One easy option is to install node. If you're on a mac, you can use homebrew. Then install http-server by typing:
npm install http-server -g
From your git cloned directory just type:
http-server