Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 629 Bytes

File metadata and controls

20 lines (13 loc) · 629 Bytes

node-homework-01

Complete the following assignment on Node.js Part 1 and push your file to GitHub for reviewing by the instructor. Refer to GitHub Guide for any inquiries

Create an HTTP server that can add, subtract, and multiply two numbers.

Example: URL: http://localhost:8080/add/?num1=10&num2=5 webpage shows: "10 + 5 = 15"

URL: http://localhost:8080/subtract/?num1=10&num2=20 webpage shows: "10 - 20 = -10"

URL: http://localhost:8080/multiply/?num1=10&num2=20 webpage shows: "10 x 20 = 200"

Bonus:

  • Can you make your server add more than two numbers?
  • Can you make your server show an image in the webpage?