Tutorial
Challenge

Simple Challenge

🎉

Read This on Github

This article is available on Github. You can read it there and contribute to it.
Github Link
Any Issue ?

⭐ 5 Basic Questions

Try to find the correct answer from the given options.

Quick Question no 1

What is Node.js?

💡Answer

c) A runtime environment for executing JavaScript code. Node.js allows developers to run JavaScript on the server-side.

Quick Question no 2

Which of the following is a core module in Node.js?

💡Answer

c) http. The http module is a core module in Node.js that provides functionality for creating HTTP servers and making HTTP requests.

Quick Question no 3

What does NPM stand for?

💡Answer

a) Node Package Manager. NPM is the default package manager for the JavaScript runtime environment Node.js.

Quick Question no 4

Which of the following is NOT a feature of Node.js?

💡Answer

c) Built-in support for multithreading. While it is possible to achieve multithreading in Node.js using certain modules or techniques, it does not have built-in support for it.

Quick Question no 5

What is the file extension used for Node.js files?

💡Answer

b).js. The file extension used for Node.js files is .js, which stands for JavaScript.


What is gitignore file?

node_modules is very large folder and if you try to push it to github it will take a lot of time and it will also increase the size of your repository. So, we need to ignore this folder because we can install all the dependencies again using npm install command. So, we need to create a file named .gitignore and add node_modules in it. Now, when you push your code to github, it will ignore node_modules folder.

.gitignore
 
/node_modules