-
node-sass package has been depricated – try using sass
If you’ve been using SASS, you need to know that you should not use npm node-sass package from now on. It might still work if you use it, but there might be errors, problems and vulnerabilities if you’re using it now. The alternative for now should be the sass package instead. I’ve already created a…
-
How to install and get started with SASS in CSS project
First of all open up your front-end project folder and create the basic files inside it like index.html and style.css files. Assuming that you’ve setup the package.json file already, next, open up the terminal and type in the following command to install SASS as a developer dependency : In the next step, it’ll be good…
-
Stateless API vs Stateful API : Meaning and Usages
Stateless APIs In case of stateless APIs, each request from a client to the server must contain all the information needed to understand and process the request. The server does not store any session information about the client. Here, each request is independent and the server does not retain any info about previous requests. For…
-
Important NPM packages you’ll need to build complex backends with NodeJS
Whether you’re learning backend development (with nodeJS) or trying to build complex back-end while using NodeJS, keep a note of the following NPM packages. You might need all or many of them in you backend development journey. Here they are: Express JS Express is a powerful and flexible web framework for NodeJS. It’s designed to…
-
Favicon code for your HTML document
To add favicon code to your HTML document copy and paste the below code to your index.html file just below the title tag after the link code to your css file :
-
The text inside button breaks into multiple lines. How to fix this – CSS
Say you have a button like so: When you try to run it, the text splits into two lines, especially while using smaller screens. To fix this you can do this :
-
Update Mozilla Firefox via Terminal Commands in Linux Ubuntu
Assuming you’ve Mozilla Firefox already installed on your PC let’s first check the version of Firefox installed on your system via terminal. Open the terminal (hit Ctrl+Alt+T to open) and type this : Next enter the following command and hit enter: Don’t open the Firefox browser while typing in the commands otherwise it does not…
-
Easy way to push your coding project to GitHub
Firstly, create a simple GitHub repository and give it a suitable name. Say, the name of your repository is Project_One. Now, copy the SSH or HTTPS code of your repository. In the next step, use the terminal to cd into the location of your choice where you want to copy the repository in your local…
-
How to create and run your very first simple HTTP server in NodeJS?
The first thing to do is to create a JS file inside your code editor. Next we write the following codes : In the above code we’ve imported the HTTP Module which is required for creating the server. In the following steps, let’s write some more codes : In the above code block we’ve used…