A server with Node which includes a homepage, side pages (/cuteness, /random-joke), utilizes random num generator, and provides 404 error page for any other link
Haha, the error page is adorable! Your server code is organized really well, too, and all the features are present on all the routes. I don't have any recommendations for improvement. Awesome work! 🎉 :shipit:
Build a simple web server that handles any URL
@egillespie Can you take a look at this? It's hosted here and meets the following criteria:
h1
element (though for this project, it doesn't have to be a complete HTML page)/
, they see a greeting/random-joke
, they see one of at least three knock-knock jokes (Math.random()
may be useful 😉)/cuteness
, they see a picture of a cute animal (I'm sure you can find one on the Internet 😛)/
) contains a link to the homepage