{

Welcome to my blog !


chalkjs command linting output styling

January 1, 2022 ·  2 min read

chalk is a JavaScript library for styling the console output strings in a terminal. We can style using foreground and background colors, Underline, Bold and RGB colors. It is a popular library used in Nodejs to apply syntax colors to features Opensource npm library provided All colors are supported Server-side support, not a browser-based library Let’s first create a node application called chalkjsdemo. First create a chalkjsdemo directory...

Bulma CSS framework tutorials with examples

January 1, 2022 ·  2 min read

This post is an index page for all posts of Bulma CSS tutorials with examples. Bulma CSS Introduction and features Bulma is CSS opensource framework based on flexbox. which support the following features Responsive that works on any screen size, Like a Bootstrap framework, It is designed as per Mobile First Lightweight in size A lot of Inbuilt components and predefined SASS styles Better design than bootstrap It is based on modules that support sass files Customizable and extendable Installation and Setup Any website or HTML can be integrated with Bulma CSS in many ways....

bLazy.js for lazy load images, videos,iframes

January 1, 2022 ·  3 min read

In this blog post, We are going to learn the blazyJS javascript library for loading images. bLazy.js introduction For any web application, Page loading is an important factor for better user experience as well as SEO point of view. On any web page, if any elements or objects like images, or videos, or any HTML element is taking a long time, It will affect the overall page speed of an application....

Best ways to read local json file in Nodejs application with example

January 1, 2022 ·  3 min read

In this tutorial, multiple ways to read local JSON files in Nodejs application using required js fs module readFile Let’s declare a local JSON file in the nodejs project emp.json { "id": 1, "name": "John", "salary": 5000 } easy way to read local json file with require to function in nodejs This is an simple and easy way to read using require function const json = require("....

Best ways to implement line break without br tag in CSS

January 1, 2022 ·  2 min read

Sometimes, you want to display the following text in multiple lines in the UI page abc def ghk lmn pqr tuv will code the text in html using p and div tag as follows <p> abc def ghk lmn pqr tuv <p> The browser displays the line abc def ghk lmn pqr tuv we can use br tag to get line break in UI. <p> abc def</br> ghk lmn</br> pqr tuv</br> <p> How do a line break without tag...

Subscribe
You'll get a notification every time a post gets published here.