Dependencies

npm install this node module to your project: https://github.com/SkyHacks/nerds

Helper functions

MDN has an example function that produces a random number between two values: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random

Assignment:

  • fork this repo
  • modify index.js so that it pulls a random character from the nerds module and sends an HTTP Response with their name.

Bonus features

  • Pull two characters and use their names as part of a madlib. (Please keep it SFW.)