100 Days of Nodejs challenges
Day 4 - Simple HTTP Server
Goal
- Create and run a simple HTTP server using the built-in http module
Tasks
1. Introduction to HTTP Module
- The http module provides functionalities to create an HTTP server and handle HTTP requests and responses.
2. Creating an HTTP Server
- Create a file named server.js and implement the code to create a http server on port 3000. Send 'Hello World!' as response
- Test your server by opening your browser and navigating to http://localhost:3000/. You should see Hello World!.
Community|Blog|Logic Puzzles|Careers|Contact Us
Have Feedback or want to contribute? Email: hello[@]100DaysOfCode.io
100DaysOfCode@2024