-
How to enter and exit NodeJS inside the terminal?
To enter NodeJS inside the terminal, simply type node. You’ll see a welcome message. You can now type in a valid NodeJS code and execute it. To exit NodeJS, just type .exit or press Ctrl+C twice. You can also use Ctrl+D to exit node.
-
How to get started with NextJS for the first time?
The first thing you wanna do is to open up your command line terminal and cd into the directory of your choice. Next, see whether NodeJS is properly installed on your system. If not, download and install it. In the next step, inside the terminal type in the following command and hit enter : In…
-
How to create moving text animation from right to left using CSS animation
Here’s how you can create a moving text animation using HTML and CSS using @keyframes keyword :
-
10 Essential JavaScript concepts to learn for Absolute Beginners
JavaScript is a very dynamic and versatile programming language that has revolutionised the web development process. It was created by Brendan Eich in 1995. JavaScript adds interactivity to a website by providing ways to manipulate Document Object Model (DOM) in web browsers. Over a period JavaScript has evolved into a full fledged programming language that…
-
Important CSS Flexbox properties commonly used
Here are some of the most commonly used CSS flexbox properties you should know about : Some very useful flexbox wrapping properties are also given below. Flexbox ‘wrapping’ is used when flexbox items overflow from the flex container :
-
How to hard reset a corrupt Google Chrome on Linux Ubuntu?
Has your Google Chrome Browser suddenly broken down? Does it not display items properly on the screen? Does it show some error messages? In these cases you might have to completely uninstall and then reinstall the Chrome again on your Linux Ubuntu system to make it work afresh. To uninstall Chrome first open up the…
-
How to center divs exactly in the middle of the screen?
Here’s how it’s done using HTML and CSS. These are the basic codes to center the divs using CSS and you can further build up your own style from here. Notice that we’ve used height: 100vh which is 100 percent of the viewport height so that we can precisely center the containers vertically. You can…
-
How to setup Svelte Project Development environment using Vite?
Firstly, make sure that the latest version of NodeJS is installed on your computer. If it’s not installed you can install it from here or if you’re on Linux you can use the following terminal command to install NodeJS : After, NodeJS has been installed properly cd into the directory of your choice and type…
-
How to uninstall and reinstall NodeJS on your Linux Ubuntu system using the terminal?
First open up the terminal using the keyboard shortcut Ctrl+Alt+T. Next type the following command to uninstall any previous versions completely from your system : This will remove all the previous files and folders for NodeJS (including NPM). You can run the following commands to check whether its done: Next, to reinstall the latest version…
-
Create a button which displays a pop-up and pop-out window using CSS and JavaScript
We’ll create a button which shows a pop-up and pop-out window when you click on the button. For this we’ll use a JavaScript function which will be linked to the HTML using onClick keyword on the HTML linked to the button. Here’s the code : Next, the code block below, note that the popupWindow() function…