Open in app

Sign In

Write

Sign In

Murtuza
Murtuza

16 Followers

Home

About

Oct 9, 2022

Creating Git Hooks Using Husky

Hooks in git are nothing but some code which can be executed at specific points during git execution process. They are used to verify everything is as expected before or after executing a git command or action. …

Git

2 min read

Creating Git Hooks Using Husky
Creating Git Hooks Using Husky
Git

2 min read


Sep 3, 2022

Setting Background Color of Body Dynamically in React

In a single page application, you only have one body element and although you can specify the background color of body in a global stylesheet, it's not easy to update the background color dynamically for different pages in your website. I encountered this issue and immediately googled some solutions but…

Java Script

2 min read

Java Script

2 min read


Aug 8, 2022

Minify JavaScript Using Terser

Terser is a javascript compressor and mangler supporting ES6+ specification. In this tutorial, you will get to know how to use terser to minify or compress javascript. Prerequisite: nodejs should be installed on your system. 1. Installing terser Install terser using yarn or npm. npm i terser -g 2. Creating a script Add the script to package.json…

Java Script

1 min read

Minify JavaScript Using Terser
Minify JavaScript Using Terser
Java Script

1 min read


Jul 25, 2022

Deploying React App to Netlify

A react app is a single page application which means that there’s only one document i.e. index.html file which is updated using javascript as per the requirement of the user. In this tutorial, I am going to show you how you can deploy a react app on netlify from an…

Java Script

2 min read

Deploying React App to Netlify
Deploying React App to Netlify
Java Script

2 min read


Jul 11, 2022

Adding Custom Anchors to Headings in Markdown — Eleventy

Anchors are nothing but id attributes applied to an element to link to it using href attribute internally on the same page. By default, 11ty uses markdown-it library to parse markdown. But, it seems that by default, markdown-it doesn’t support syntax for applying an id to a header element. The…

Web Development

2 min read

Adding Custom Anchors to Headings in Markdown — Eleventy
Adding Custom Anchors to Headings in Markdown — Eleventy
Web Development

2 min read


Jul 1, 2022

How to vendor prefix and minify CSS?

Writing CSS from scratch along with adding vendor prefixes can be a daunting task if done manually. Vendor prefixes can be easily added using the autoprefixer plugin of PostCSS. Also, the size of CSS file matters because CSS files can be render blocking so you need to keep a check…

Web Development

2 min read

How to vendor prefix and minify CSS?
How to vendor prefix and minify CSS?
Web Development

2 min read


Jun 7, 2022

Eleventy — Shortcode for Embedding Codepen

Don’t know what eleventy is? Before you read further, check out this amazing series of articles by Tatiana Mac to know more about eleventy and static site generators in general. Shortcodes are used to invoke a particular function which returns some html or any other data based on the information…

Web Development

2 min read

Eleventy — Shortcode for Embedding Codepen
Eleventy — Shortcode for Embedding Codepen
Web Development

2 min read


May 27, 2022

5 VSCode Extensions You Must Use

Here are the 5 most useful Visual Studio Code extensions to improve your workflow! 1. Error Lens Error Lens is an extension which allows you to see error, warning and diagnostic messages in line with your code without having to hover or click on anything! …

Software Development

2 min read

5 VSCode Extensions You Must Use
5 VSCode Extensions You Must Use
Software Development

2 min read


May 22, 2022

How to create and deploy an Express.js app to Vercel?

Vercel is a platform to host frontend applications and static sites but you can also host an express app using serverless functions. In this tutorial, we will see how we can create an express app from scratch and deploy it to vercel. Prerequisites Node.js should be installed on your system. Creating an Express App Run…

Java Script

3 min read

How to create and deploy an Express.js app to Vercel?
How to create and deploy an Express.js app to Vercel?
Java Script

3 min read


Apr 5, 2022

Optional Chaining in JavaScript

Optional Chaining in JavaScript is used to return undefined for accessing an object property that doesn't exist and whose parent property is nullish (null or undefined). If you are unaware that property exists or not and you want to avoid the error that’s being thrown, you may want to use…

Java Script

3 min read

Java Script

3 min read

Murtuza

Murtuza

16 Followers

Full Stack Developer | Content Creator | Technical Writer

Following
  • Strapi

    Strapi

  • Hussein Nasser

    Hussein Nasser

  • The Scratch Team

    The Scratch Team

  • The Pragmatic Programmers

    The Pragmatic Programmers

  • Nick Wignall

    Nick Wignall

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech