JavaScript

Display Current Day Name in Javascript – Node, Express, EJS

Print present day's name like Sunday, Monday in javascript app. Display the day name from the date library. In this post we also share... Read more »

Using EJS with Express – Installation, Boilerplate Code

EJS refers to Embedded Javascript. It is basically used for templating the javascript app. In this post, we gonna check out the basic express... Read more »

Node Express JS App Boiler Plate Code

Boilerplate code for easily getting started with a new express js project. Here is the sample code you can use for the app.js, the... Read more »

Create JSON Data for POST request in Express

JSON refers to the JavaScript Object Notation. Data can be transferred over HTTPS as JSON. For this process firstly we need to convert our... Read more »

Specify Static Folder in Express JS

Static folder is used for keeping all the static files like css files, images etc. In express JS we mention the static folder in... Read more »

New Node JS Project Setup – Terminal Commands

Firstly open the terminal and go to our folder location. Create folder: eg: mkdir FruitsProject Move inside the folder using, cd FruitsProject Create entry... Read more »

Weather App JS Project – Full Code

Weather App project is a simple project for using weather API. This app is build using Express JS for learning beginners exploring APIs. This... Read more »

How to print the Status Code of API response

We may get response from an API while making an https request. We can do console.log and view the whole https response. Looking at... Read more »

How to send multiple lines of HTML in res.send – Javascript

We can send multiple lines of HTML through the res.send the response in node js. This can be done by using the res.write() Eg:... Read more »

Weather API – Node JS Sample API Project

In this project, we gonna create a weather updates webpage using Node & Express JS. We are using the weather API provided by OpenWeather.... Read more »