At first we need to know about HTTP:

The Hypertext Transfer Protocol (HTTP) is designed to enable communications between clients and servers. HTTP works as a request-response protocol between a client and server.

Example: A client (browser) sends an HTTP request to the server; then the server returns a response to the client. The response contains status information about the request and may also contain the requested content.

We tend to take HTTP methods for granted. In the API development space, methods are akin to the alphabet — often used, seldom considered. API developers typically only use GET, PUT, or

what is nodejs?

Node.js is a platform built on Chrome’s JavaScript runtime for easily building fast and scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

Node.js is an open source, cross-platform runtime environment for developing server-side and networking applications. Node.js applications are written in JavaScript, and can be run within the Node.js runtime on OS X, Microsoft Windows, and Linux.

Node.js also provides a rich library of various JavaScript modules which simplifies the development of web applications using Node.js to a great extent.

Simply we…

Image for post
Image for post

What is Web Server?

A web server is a computer that runs websites. It’s a computer program that distributes web pages as they are requisitioned. The basic objective of the web server is to store, process and deliver web pages to the users. This intercommunication is done using Hypertext Transfer Protocol (HTTP). These web pages are mostly static content that includes HTML documents, images, style sheets, test etc. Apart from HTTP, a web server also supports SMTP (Simple Mail transfer Protocol) and FTP (File Transfer Protocol) protocol for emailing and for file transfer and storage.

How It’s Work?

The main job of a web server is to…

Image for post
Image for post

What Is AngularJS?

AngularJS is a structural framework for dynamic web apps. It lets you use HTML as your template language and lets you extend HTML’s syntax to express your application’s components clearly and succinctly. AngularJS’s data binding and dependency injection eliminate much of the code you would otherwise have to write. And it all happens within the browser, making it an ideal partner with any server technology.

AngularJS is what HTML would have been, had it been designed for applications. HTML is a great declarative language for static documents. …

Image for post
Image for post


PHP is a server side scripting language. that is used to develop Static websites or Dynamic websites or Web applications. PHP stands for Hypertext Pre-processor, that earlier stood for Personal Home Pages.
PHP scripts can only be interpreted on a server that has PHP installed.
The client computers accessing the PHP scripts require a web browser only.
A PHP file contains PHP tags and ends with the extension “.php”.

PHP Syntax
echo ‘Hi I Am Abrar’;

What is a Scripting Language?

A script is a set of programming instructions that is interpreted at runtime. A scripting language is a language that interprets scripts…

Image for post
Image for post

Project’s Name: “Aircnc”

Project’s Overview

We build an “Aircnc” or hotel booking website. That helps people to find out their hotel which is available. Using our website people can share experiences about their hotel. By our website, people will be able to see the hotel within a particular area. And they can also pay their payment using our payment gateway.

Project Team

01. Rakibul Islam — Front-End Developer —
02. Md Piash — Back-End Developer — Project Lead

Project Phase

01. Phase 1: Complete Website’s Front-End
02. Phase 2: Add API
03. Phase 3: Add Google Analytics
04. Phase 4: Add Unit Test

Content Structure

Image for post
Image for post

1.Different between some() and every()?

The some() method tests whether some element in the array passes the test implemented by the provided function. The every() method tests whether all elements in the array pass the test implemented by the provided function. So you will use them, according if you want to test some elements or every elements.


const array = [1, 2, 3, 4, 5];
const evenArr = [2, 4, 6];
const even = (element) => {
return element % 2 === 0;

console.log(array.some(even)); // true
console.log(array.every(even)) // false
console.log(evenArr.every(even)) // true

2. Closures

A closure is the…

Image for post
Image for post

1. Why need problem solving?

Problem-solving gives us a mechanism for identifying these things, figuring out why they are broken and determining a course of action to fix them. Addressing risk: Humans have learned to identify trends and developed an awareness of cause-and-effect relationships in their environment.
Effective problem solving skills enable employees to analyze problems, identify problem severity and assess the impact of alternative solutions. Workplace training designed to develop problem solving skills helps employees to work more efficiently with co-workers, customers, partners and suppliers.

2. Day 0 Data Type solved problem

function performOperation(secondInteger, secondDecimal, secondString) {

// Declare…

Image for post
Image for post

1.What is JSX?

JSX is nothing but power of react which give us the power to use html and JavaScript together .

Look at the variable declaration which is given bellow:

const element = <h1>Hello, world!</h1>;

This looks funny but this the power of JSX which allow us this syntax tax to JavaScript. We recommend using it with React to describe what the UI should look like. JSX may remind us of a template language, but it comes with the full power of JavaScript. JSX produces React elements. We will explore rendering them to the DOM in the next section.

Image for post
Image for post

1. Remove duplicate members from an array?

There are multiple ways to remove duplicates from an array.
The simplest approach is to use the Set object which lets us store unique values of any type. In other words, Set will automatically remove duplicates for us.

const names = [‘Abrar’, ‘Piash’, ‘Asif’, ‘Rakib’, ‘Abrar’, ‘Rakib’];
let unique = […new Set(names)];
console.log(unique); // [ ‘Abrar’, ‘Piash’, ‘Asif’, ‘Rakib’ ]

Another option is to use filter().

const names = [‘Abrar’, ‘Piash’, ‘Asif’, ‘Rakib’, ‘Abrar’, ‘Rakib’];
let x = (names) => names.filter((v,i) => names.indexOf(v) === i)
console.log(x(names)); // [ ‘Abrar’, ‘Piash’, ‘Asif’, ‘Rakib’ ]

Md Piash

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store