All Articles
How to merge JSON files in python
Learn different techniques to merge multiple JSON files in Python using built-in JSON module and Pandas library. Includes examples for combining data arrays and merging dictionaries by key.
Top 40 Git commands with Examples
Check GitHub Account in the Terminal
Install Tailwind CSS in Vue 3 and Vite App
How to Install Pip(pip3) in Ubuntu Linux 22.04
How to Write If-Else Statements in One Line in Python
Qbasic Programming Examples and Exercises
QBASIC Programming – Beginner’s Friendly
Qbasic Looping statements with Examples
Qbasic Control Statements with Examples
QBasic Commands and Statements
Free QBasic Online Compilers Editors (Complete List)
Download Qbasic for Windows 10 and 11 for Free
Qbasic Color statement
How to add Google Analytics 4 in Nuxt Application?
Trigger an event on route change in Vue | VueJS
Find square root of negative number using python
Pytube Description and Keyword Not Showing: Solution
Solve the issue with Pytube not showing youtube description and tags in this article.
How to Fix the subprocess-exited-with-error in Python
Learn what cause the subprocess-exited-with-error in Python and also learn how to solve the error in your code.
Solve npm ERR! ENOENT - No Such File or Directory Error
Learn what causes the npm ERR! ENOENT error, steps to troubleshoot it, and how to fix the no such file or directory issue when running npm start or npm install commands on your Node.js project.
Fix error:0308010C:digital envelope routines::unsupported
Learn to solve the "Error: error:0308010C:digital envelope routines::unsupported" error in Node.js application (Vue, Angular or react) using the solutions in this article.
How to create a horizontal list using HTML and CSS
Find out different ways to create horizontal list using inline-block and flex-box in CSS for your navigation bar on your website.
Press Shift + Enter for new Line in Textarea
Override default textarea behavior on Enter key press without Shift, prevent new lines, and take custom actions like submitting forms instead. Still allow Shift+Enter newlines.
in vs hasOwnProperty(): Differences in Inherited Properties
The article explains the differences between JavaScript's 'in' operator and 'hasOwnProperty()' method. And also learn the use cases of both in JS.
How to Clear Cache in NPM?
In this tutorial we will learn how to clean or remove npm cache from Windows, linux and Mac using npm cache clean command.
Python Integer Division: The Floor Division Operator Explained
Article on Python Integer Division operator (//) with examples and the difference between standard division and floor division.
SyntaxError: Unexpected EOF While Parsing - Python Error Solved
This article explains what causes the common "SyntaxError: unexpected EOF while parsing" error in Python and how to fix it with various examples.
How to use calc() in tailwind CSS
Learn the use of calc() in tailwind CSS class. The calc() CSS function allows complex calculations to determine element sizes responsively.
React TypeError: map() is not a function error [Solved]
Learn how to fix the common error "React map is not a function" in your code by properly importing and using the Array.map method.
Fixing Inconsistent Indentation Errors in Python
Inconsistent Indentation Errors in Python occurs because of mixing tabs and spaces in your python code.
How to Fix "ReferenceError: document is not defined" in JavaScript
The "ReferenceError: document is not defined" is a common error in JavaScript that occurs when trying to access the `document` object in a non-browser environment like Node.js.
How to Fix the "Cannot Read Property of Undefined" Error in JavaScript
The "Cannot read property of undefined" error occurs when you try to access a property or method of a variable that is undefined in JavaScript.
Checkbox inside GitHub Markdown Table
Short article on how to create checkbox or tick and cross mark inside markdown table in Github using emoji.
Capitalize First Letter of a String - JavaScript
This article is about how to capitalize the first letter of a string using JavaScript.
How to Change default terminal in VSCode
This article is on how to change or set the default terminal in VSCode. You can use your favorite shell like CMD or GitBash by following the steps in this article.
How to Fix Unknown at rule @tailwindcss(unknownAtRules)
Easy guide on how to fix the Unknown at rule @tailwindcss in VSCode error in VScode editor using extension and correct configuration of the editor.
(Solved) Non-Numeric Argument to Binary Operator Error in R
Learn how to fix Non-Numeric Argument to Binary Operator Error in R using inbuilt functions like class(), as.numeric() and ifelse() functions.
Cannot find module 'dotenv' Error in Node.js - Solved
Learn how to solve the "Cannot find module 'dotenv'" error in Node.js. Here you will getstep-by-step guide to troubleshoot and fix this common module issue.
Remove special characters of the URL in JavaScript
Learn how to remove special characters from URLs using JavaScript. Avoid broken links and improve website accessibility with our solutions.
[Solved] 'rm' is not recognized as an internal or external command
Learn how to solve "rm is not recognized as an internal or external command" error in windows using CMD, PowerShell and Git Bash tool.
[Solved] Consider using the --user option or check the permissions.
Learn to solve the "Consider using the --user option or check permission" error when installing Python packages. Use --user flag, sudo or virtual environment.
Vertically Center Align a div in Tailwind CSS
Learn how to vertically center align a div in Tailwind CSS using Flexbox and absolute positioning and make your web development more efficient and fast.
How to Convert JSON to YAML in Python 3
Learn how to convert JSON to YAML in Python with this easy-to-follow guide. Use the json and pyyaml libraries to convert data seamlessly.
[Solved] react-scripts: command not found error
Learn how to solve the "react-scripts: command not found" error in your React application with these simple steps in the solutions.
[Solved] webpack: command not found error
This article explores solutions to the common "webpack: command not found" error that developers encounter while using webpack-cli from the terminal.
How to get the id from the URL in Vue 3
Learn how to retrieve the URL id or slug in Vue 3 using the route object and access it in your component's template or setup function.
Solving TypeError: string indices must be integers error in Python
Learn how to fix the "string indices must be integers" error in Python using index number (integer) instead of a string.
Solving the AttributeError: module 'numpy' has no attribute 'int' Error
Learn how to solve the 'AttributeError: module 'numpy' has no attribute 'int'' error in NumPy library. Get the easy solution to fix the error in python.
How to fix error: legacy-install-failure in Python
Fix "Legacy Install Failure" error in Python. Upgrade Python or use a virtual environment. Manage packages & dependencies without version issues.
[Fix] cannot import name force_text from django.utils.encoding - Python Error
Learn how to resolve cannot import name force_text from django.utils.encoding python web-framework error. We discussed the possible cause of the error and how to resolve it.
Fix 'failed to push some refs to' Git Errors
If you have encountered the "error: failed to push refs to" error in git, then follow this solution provided in this article to easily fix the error.
How to get current date and time in Python
Learn to get current date and time in Python using the `datetime` and `time` modules. Both modules provides all necessary tools for time and date handling in Python.
How to get today date in Python without time?
Short guide to get the only today's date without the time in python using the datetime and time modules. And also learn to format the date in dd/mm/yyyy format using strftime function.
Solve "No Such File or Directory" Error in Python
In python, you might come across "No Such File and Directory" error. Learn about the causes and get the step-by-step solution with examples.
How to round down a number in python
Learn how to round down in Python with step-by-step examples using floor division and the math.floor(), int(), and math.trunc() function to perform mathematical calculation.
How to Downgrade an Installed npm Package
Learn how to downgrade npm packages for compatibility issues, bug fixes, new features, or personal preference. Follow step-by-step guide for a easy downgrade process.
Solving "npm not recognized as an internal or external command" Error
Learn what causes the npm not recognized as an internal or external command error and the steps to solve it using the PATH environment variable.
Understanding the Inline If Statement in Python
Learn what is an Inline If statement and how to use it in a python program and also learn about the use cases of it with some examples
Create a vertical line using Html and Css
Learn with step-by-step instruction on how to add vertical line in HTML using CSS border, transform and pseudo classes.
How to return a value from a foreach loop? Javascript
learned how we can return a value in `forEach()` loop and about other methods that can return a value from a JavaScript loop
Validate email using regular expression (Regex) in JavaScript
Learn how to do email validation using regular expression regex using JavaScript to your form and registration form in sites.
How to Destructure an Array in JavaScript
Learn how to use destructuring an array or parameters of function in JavaScript with the help of examples.
Line continuation | Long statement in Multiple lines in Python
Find out how to write long strings that continue to the next line using python. And to solve line continuation in python.
Find Length of Dictionary in Python with Examples
To find the length of the dictionary we have to use the `len()` function in python. It returns the number of keys in the dictionary.
Reverse an Array in Python (Using Numpy And Array Module)
We have to create an array in Python using numpy and array module and use reverse() and slicing method to reverse it.
Python import module from parent directory
We can import methods from a parent directory in python using the sys.path.append() and sys.path.insert() method of the sys and os modules.
How to use Pi in Python? (math and numpy module)
We can use Pi using the math module in python. The math.pi returns the value of 3.141592653589793 when used in Python.
FileNotFoundError: No such file or directory Error Python
Find out how to solve the no such file and directory error by specifying the absolute and relative path of the file in python.
Save Python dict as JSON: Convert Dictionary to JSON
Find out how to convert dictionary to JSON format using python. In python, we can use the json.dumps() method to covert the dict to json object.
Add leading zero to a number in JavaScript (Code Example)
To add leading zero to a number, first convert the number to a string and use padStart() method to add the leading zero.
Find square root of negative number using python
We can get the square root of a negative number in python using the cmath python library. It provides us various functions to work with complex numbers.
Square a number in Python (3 ways)
Find out how to find the square of a number in python. Python programs to find the square number of list and arrays using python.
Add Multiple Classes to HTML elements using JavaScript
Find out how to add and remove multiple classes to and from an HTML element using JavaScript's classList.add() and classList.remove() method.
Javascript - Convert array to String (with and without commas)
Short article to convert array to string with commas and without commas using join method.
(Fixed) npm ERR! missing script: start error
This article is about how to fix npm err! missing script start error in nodejs application.
Javascript nullish coalescing (double question mark) operator
Short guide explaining about the nullish coalescing (double question mark) operator in Javascript.
(FIXED) NVM Error - exit status 1: Access is denied
Short article on how to solve NVM Error - exit status 1: Access is denied in windows 10.
How to flatten nested list in python (5 ways)
A python list can be 2D list or multi-dimensional list. Find out different ways to flatten a list of list (nested list) in python.
Prepend List in Python (Append at the beginning)
Find out different ways to prepend list in python. Ways to add items at the beginning of the list in python.
Create Directory if not Exists in Python
To create a directory if the targeted directory does not exist in python we have to use the os.path.exists() method of the os module.
Sort List or Dictionary by two keys in Python
Learn to sort list, dictionary, tuples with multiple elements in python. Here, we have sort python list and dictionary by two keys.
How to reverse a range in python | Reverse Range
Find out different ways to reverse a range in python using reversed function, negative step and sorted function.
Python string append | How to Append String in Python
Find out different ways to append one string to another in Python using += operator, join function or the f-string method.
(Solution) ValueError: math domain error in Python
Find out how to solve math domain error while using sqrt, acos, and log of a number in python. Also find the solution of this math error.
Python Bitwise XOR Operator and its Uses
The XOR operator or binary operator is use to perform bitwise calculations on integers and boolean values in python.
Python - Remove Newline From Strings (3 Ways)
We can remove new line from a string using replace(), strip() and re.sub() method in python.
Python | Delete an Element (key) From a Python Dictionary
Find out different ways to remove keys from a dictionary and also to remove multiple keys from a python dictionary.
Check for prime number using for and while loop in Python
Write python programs to find prime numbers using for loop and while loop and also within a given range between 1 to 100.
Merge two dictionaries together using python (3 ways)
Find out 3 different ways to merge or combime two or more dictionaries in python.
Merge multiple JSON objects into one single object in Python
Combine multiple JSON objects from a file into a single object and then save it in a file in python.
Python - Check if list is empty or not
To check if a list is empty or not, we have to use the len(), bool() and not operator method in python.
What is memoization and how to cache function results in Javascript
Javascript memoization is an optimizing technique to reduce time consuming calculations. It's a type of caching which store previous results in the memory.
Python - Insert an element at specific index in a list
Find out ways to insert an element at a specific index in a Python list using insert method, append and extend methods.
How to check if input is a number in python
Find out if the user input is a number or string using isnumeric and isdigit methods in Python program.
Check if user input is empty in python
Find out how to check if the user input is empty in python using if and while statement and not operator.
How to take input as int (integer) in python?
Find out how to take integer input in python using int() function with exception handling for errors.
Remove the Last N element from a List in Python
Find out how to remove the last N element from a Python list using pop(), list slicing and del function.
Convert HTMLCollection into array in JavaScript
Post on how to convert HTMLCollection to an array to apply forEach() method on its element to loop in JavaScript.
Remove Duplicates from List in Python
Find out how to remove duplicate items from a list in python using different method and create a unique list.
Python - Check if a string is Empty or Not
To find if a string is empty of not in python, we can use len(), not operator ,and strip() or isspace() method to check for non-zero length string.
Get the Index or Position of Item in List in Python
In this post, we will discuss how to find the index of an element from a List in python with some examples.
Replace character in String by index in Python
Short article on how to replace a character in a string using the index with the help of python code.
Clear cache in Yarn: yarn cache clean
Find out how to clear cache in yarn using the yarn cache clean command. It deletes all the data of the cached node packages from your local storage.
Split string by whitespace in python
Find out how to split a string by whitespace using split() method in python. The split method split a string and returns a list.
How to split a list into multiple list using python
To split a list we have to find the len of the list and then divide it by 2 to find the middle index. It helps to split list by chunks size.
Split String and get the first element using python
Find out how to split a string and get the first element from the list using maxsplit argument in python.
Convert a string into integer or float using Python
Find out how to convert a string into an integer or floating point number using int() and float() function in Python.
[Solved] date.getDate() is not a function error in JavaScript
Find out how to solve the date object error, TypeError: date.getDate() is not a function in JavaScript.
Convert and Save HTML elements as Image using JavaScript
Find out how to convert a div to image without using canvas in JavaScript. Here we will save an HTML element as image using html2canvas package.
Check if String starts with a space in JavaScript
Find out whether a string starts with a space or not using regex test method, string match method and startsWith method in JavaScript.
JavaScript - Detect if a string contains any space
FInd out how to detect if a string contains any white space using regex test() method and string indexOf() method in Javascript.
Get the current directory/folder in Node Js
Find out how to get the current folder or directory path where a Javascript code is executed in Node.
Delete a file in Node using unlink() and unlinkSync() method
Short tutorial on how to remove a file from the file system in node js using unlink() and unlinkSync() functions.
Add property to each object in an array of object in JavaScript
Short article on how to add property to each object in an array of objects using JavaScript.
JavaScript - Get Month Name from Date
Find out how to get the name of the month from JavaScript Date object using toLocaleString method andd Intl.DateTimeFormat object.
Easy Way to use localStorage with Vue
Short article on how to use local storage with Vue and learn saving and storing data in local storage with the setItem() and getItem() methods.
How to split First name and Last name in JavaScript
Short article to separate first name and last name in a form field using split method in JavaScript.
Change image source (src) on hover using CSS
Find out how to change the source of the image tag on hover using CSS using :hover selector.
How to change image on hover JavaScript
Short article on how to change the source of the image <img> tag on hover using JavaScript.
Change image src using onClick event in JavaScript
Find out how to change or replace the image src (source) on click of a button using onClick() event in JavaScript.
[Fixed] GitHub "fatal: remote origin already exists" error
Find out to fix "fatal: remote origin already exits" github error while working with remote git repository.
Force update Vue to Reload/Rerender component
Short tutorial on how to correctly force update Vue.js component to reload or rerender. The component is reinitialized without having to do a browser refresh.
Solved "No such remote origin" Git Error Fatal
Short article on how do I fix remote origin already exists git error faced when trying to push to remote origin in Github and BitBucket.
Set and get cookies in a browser in Vue App
Find out how to set and get cookies in a browser for your webpage in Vue using vue-cookies package.
Save vuex state after page refresh in Vue App
Short tutorial on how to save (or persist) data in a vue application using Vuex and vuex-persist npm package.
How to convert markdown to PDF offline with Pandoc Converter
Find out how to convert or merge two or more markdown files into a pdf format in windows and MacOs using command line in Pandoc document converter.
How to add common header and footer in Nuxt
Short post on how to add common header and footer component for all your pages in your nuxt application using layouts directory.
Add style to v-html with scoped css in Vue
Find out how to use deep selectors to add style in v-html with scoped css in sass and regular css in Vue.
Use emoji as list bullet points using CSS list-style
Find out two different ways to use emoji as bullet point using list-style in CSS with the help of :before pseudo-element and @counter-style CSS at rule.
Convert Kilometers to Miles using JavaScript program
Find out how to write a JavaScript function that takes a number and converts kilometers to miles i.e km to mi.
Split a String into chunks of N character into an array in JavaScript
Find out how to split String into Substrings by length of N characters in JavaScript using split(), match() and substr() methods.
How to split string after specific character in JavaScript
Find out how to split the string at specific character in your string using split() method in JavaScript.
How to add 404 page in Vue using vue-router
Find out how to add a custom 404 (Page Not Found ) Error page in Vue using vue-router.
How to redirect to another page in Vue
Find out how to redirect URL to another page routes using redirect property in vue-router in Vue Js.
How to conditionally bind class in Svelte
Tutorial on how to conditionally bind dynamic classes in Svelte JS using curly braces.
How to register a Global component in Vue 3 and Vue 2
Short article on how to register a component globally in Vue 2 and 3 to be used in any component without importing in every component.
Create multiline string in JavaScript | Split string to Multilines
Find out how to create multiline string in JavaScript using string concatenation, blackslash and template literals.
Easy Way to add Emoji in markdown with VS Code
Find out how to add emoji in your markdown document in VS Code using markdown emoji or emojisense plugins.
How to open markdown link in new tab
Article on how to open a markdown link in a new tab in browser using target="_blank" in the ahref link.
How to change image size in markdown in GitHub
Find out different ways on how to change or resize image size in markdown for GitHub profile. Learn to change markdown image size using CSS style.
How to remove an item from array in Vue component
Find out how to remove an item/element or an object from an array in Vue using splice() and filter() method.
Fix - Cannot use import statement outside module Error in Node
This article about how to resolve cannot use import statement outside a module error in plain JavaScript and node.
How to write comments in a Markdown File
Find out the different ways to add comment in a markdown file, so that it wont show up in HTML output of your web page..
How to underline in markdown
Find out how to underline a text in markdown using the <u> tag in HTML.
How to do text highlight in markdown
Short article on how to do text highlighting in markdown using <mark> tags or double equal sign in our editor.
How to use setTimeout with Vue | Equivalent of setTimeout() function.
Find out how to use setTimeout() function in Vue js application.
Only show slot if it has content with Vue.js
Find out how we can only show slot if it has content in it using $slot property in Vue Js.
How to center align an image in markdown
Short article on how to center align an image or text in markdown language using align attribute of html.
How to convert markdown files to PDF in VSCode
Find out how to convert your markdown files and export it as pdf using Markdown PDF plugin in VSCode.
How to make horizontal line in markdown
Short article on how to make horizontal line in markdown using the hyphens, asterisks, or underscores on a line.
How to write superscript and subscript in markdown
Find out how we can write superscript and subscript in markdown using html <sup> tag and <sub> tag.
Call a Vue Method on page load in Vue JS
Short article on how to call a method/function on page load in Vue JS to fetch data or to initialized something using created and mounted hook.
How to remove node_modules from github or bitbucket
Step by step process to remove node_modules from github or bitbucket after the folder is added to the repository with the help of gitignore file.
How to change the color of <hr> tag using CSS
Here we will learn how to change the color or the background color of HR element in out html using css style.
How to display JavaScript variable value in HTML
Short tutorial on how to display JavaScript variable values in HTML using three ways , using innerHTML, document.write() and window.alert().
Get value from input using on change in Vue
Short tutorial to get the value from an input field to trigger an event/function on change using @input event handler in Vue.
How to get data from the child component in Vue
Find out how to get or access the data from the child component using the $ref directory in Vue.
How to allow input type=file accept only images
Find how to allow input field type=file accept only a particular type of file, here only images from users.
Add CSS style to input type=file | Custom file input
Short tutorial to add css styles to input type=file field on a website using : :file-selector-button pseudo selector for **Webkit/Blink** browsers.
How to pass data from parent component to child using props in Vue
Find out how to send data from parent component to child component using props in Vue.
Execute a function from child component in Vue
Find out how we can execute a function in the parent component from the child component using emit function in Vue.
Find the average of n numbers using JavaScript
Tutorial to write a JavaScript function to find the average of n numbers of items in an Array using JavaScript.
How to find the median value of an array using JavaScript
Short tutorial on how to find median of odd and even numbers of values in an array using JavaScript.
How to pass data from child to parent component in Vue JS
Find out how we can pass data from a child component to a parent component using the built-in $emit function with custom event in vuejs .
JavaScript - Show and hide div on button click using JavaScript
This post is about how to show and hide a div on button click using JavaScript. We will change the CSS property of the element using JavaScript to hide and show the content.
How to read text file in JavaScript (line by line)
This article is about how to read text file in JavaScript line-by-line from local computer using Html input field.
Enable or Disable button programmatically using JavaScript
This article is on how to programmatically enable or disable button using JavaScript.
Detect Dark Mode | Color Mode Change using JavaScript and CSS
Find out how to detect dark mode and detect mode change using JavaScript and CSS in modern browsers like chrome, edge, firefox.
Check if a HTML checkbox is checked using JavaScript
Find out how to check if the checkbox is checked or not using JavaScript.
Change Text Color Using JavaScript with Example
This post is about how to change color of text in HTML using JavaScript with and without clicking a button.
JavaScript: Change Background Color of a Webpage.
Find out how to change the background color of the body tag or a div in a web page using JavaScript.
How to add CSS border inside a div element
Find out how to add a border inside a div element using CSS box-sizing, outline property and box-shadow inset property.
How to bind text, html and attributes in Svelte
Short tutorial on how to bind text, html and html attributes in Svelte and render it on our html templates.
How to create a project in Svelte JS
Short tutorial on how to create a project in Svelte Js and install all its dependencies and create your first app with Svelte Front-end framework.
Fix- 'unexpected console statement (no-console)' Error in Node and Vue
Short article on how to fix "unexpected console statement (no-console)" error in NodeJs and Vue using .eslintrc.js file and eslintConfig.
Best way - Split an array into half in Javascript
To divide an single array into half i.e into two different arrays without modifying the original array we can use Array.slice() method in JavaScript.
Get multiple elements by Id using JavaScript
To select elements by multiple Ids using JavaScript we have to use document.querySelectorAll() method instead getElementById() method in JavaScript.
Fix - "fatal:refusing to merge unrelated histories" git error
This article is about how to resolve or fix fatal:refusing to merge unrelated histories git error.
Resolve - node unexpected token import error in Nodejs
Article on how to resolve SyntaxError: Unexpected token import error in nodejs using type require instead of import and setting type attribute to module in package.json file.
Update Parent data from child component in VueJs
This article is about how to update parent data from a child component in vuejs. We will use custom events to pass data from child to parent component.
Trigger an event on route change in Vue | VueJS
This article is about how we can trigger an event when we change routes in vueJS. We will use watch method and beforeRouteUpdate guard to detect the changes in routes.
Set URL Query Params In Vue 2 Using Vue-Router
Short tutorial on how to set URL query params in Vue with Vue-Router using router-link, router.push and router.replace
[Solution] Add External Script Tags in Vue JS component
The article is about how to add external Js script in Vue component. We will be using mounted() and two modules to add script tags in vue locally.
How To Add Multiple Classes in VueJS | Class Binding
Vuejs tutorial on how to add or bind multiple classes dynamically in Vuejs using v-bind directive.
Call Vue Component Method from Outside the Component
Find out how to call a method in a component from outside the component in Vue. Calling a child component method from the parent component.
Pass multiple objects as props in Vue
Short tutorial on how to pass multiple objects as props to a child component from parent in vue using v-for directive.
How to pass multiple props to component in Vue
Short article on how to pass multiple props to a component in vue using v-bind.
How to use computed property for v-for in Vue JS
Quick tutorial about Vue computed property and how to use computed property value for v-for in Vue.
How to reference static image assets in Vue JS
Learn how to reference images from assets folder in Vue template using Webpack's require() method or using the relative path.
Trigger a button click on pressing Enter in Vue
Quick tutorial on how to trigger a button click in a form on pressing Enter on keyboard in Vuejs.
Create Confirmation Alert Box with YES and NO options - JavaScript
Find out how to create confirmation dialog box to confirm yes or no in JavaScript using confirm() method.
Set page title dynamically in Vue JS
Short article on different methods to set document title dynamically using document.title property or vue-meta packages in Vue JS application.
Update component when we change route in Vue
Short tutorial on how to update the component whenever the route is changed in Vue to re-render the page and fire the created() or the mounted() hook.
How to listen for props changes in VueJS?
This article is about how to listen for prop changes in vue. We will be vuejs watcher or watch property to listen for any changes in props.
YAML Comments - Inline And Block Comment
This article is about YAML commenting and how to do inline or block multi-line comment in a YAML file.
Horizontal scrolling div with arrows using HTML and CSS
Tutorial on how to make horizontal scrolling div with arrows using html and css and for smooth scrolling we will use scrollBy() function in Javascript.
What is insertAdjacentHTML() ? How to use it?
Tutorial on Javascript insertAdjacentHTML() method and how can we use it to insert html elements to specific position in our HTML page.
How to add empty folder/directory in Git
Find out how to add an empty folder/directory in our github repository to be tracked by git using .gitignore , .gitkeep and readme file.
How to check Git email address and username in terminal?
This article is about how to check GitHub email address and username from your terminal in windows and Mac.
How to save username, email and password globally in Github?
This post is about how to save username, email and password globally in Github using terminal.
How to Create New Folder in Github Repository?
This article is about how to create or add new folder in github repository directly from the web browser.
Open Github repository in VS Code in Online
This article is about how to open any github repository in VSCode in our browser online without the need of cloning the repo.
Get user location from browser using JavaScript
Tutorial on how to get user location like latitude and longitude from our browser using geolocation() function in JavaScript.
Fixed Error - npm ERR! missing script: dev
Find out how to fixed npm error, npm missing script dev while running the node serve in your javascript node project.
How to make a placeholder for select box in HTML
Short tutorial on how we can add placeholder text for the select option element for dropdown in Html without CSS.
How to add Google Analytics in Vue?
Short tutorial on how to integrate google analytics in our vue application. we will be using vue-gtag npm module to add analytics Id in our website and application.
How to uninstall npm modules in NodeJS
Short article on how to uninstall npm modules locally and globally from your computer completely.
[Fixed] npm WARN : No description field in Node
To fix npm warning - npm WARN: no description field from our node projects. we have to add description in the package.json file.
How to get list of globally installed npm packages
To get the list of npm packages installed globally in your computer, we have to use -g flag along with npm list command.
How to make dashed line using HTML and CSS
Short tutorial to make dashed line in HTML using hr tag and CSS repeating-linear-gradient() function.
Convert seconds to minutes and seconds (mm:ss) using JavaScript
Find out how to convert seconds to minutes and second format mm:ss using toString() and padStart() in JavaScript.
Merge Two Arrays and Remove Duplicates - JavaScript
Tutorial on how to merge two or more array and remove duplicates in JavaScript.
Replace all occurrences of a string in JavaScript
Tutorial on How to replace all occurrences of a string in JavaScript using replace() with regular expression (regex)
Use Array forEach() to loop through JavaScript object
FInd out how to use forEach in an object and return key, value and also convert it's properties to an array using JavaScript.
Fixed Error: npm cannot find module error in NodeJS
This article is no how to resolve npm cannot find module in nodejs. It is a very common error in javascript require method.
JavaScript - Convert Days to Seconds
Tutorial to write a program to convert days to seconds using JavaScript.
How to make a collapsible list in html without JavaScript
Short article on how to make a expand / collapse html div without using JavaScript. We can use details and summary tag to create a collapsible div.
How to Get the ID of a Clicked Button or Element in JavaScript
Find out how to get the id of a button when clicked in JavaScript using onclick event listener and passing on the this.id or this.target.id.
JavaScript - How to export multiple functions from a file
In this article, we will be covering how we can export and import multiple functions in JavaScript.
How to find exponent power of a number in JavaScript
Find out how to get the exponent power of a number with and without using the Math.pow() method in JavaScript.
How to multiply all numbers in an array using JavaScript
Quick tutorial on how to multiply all the elements in an array using iterative i.e loop and reduce method in JavaScript.
Return multiple values from a function in JavaScript
Tutorial on how to return multiple values i.e more than one value from a function in JavaScript.
How to check if String contains only spaces in JavaScript
Quick way to check if a string contains only spaces or have empty string using trim() and regular expression using JavaScript.
Round to the nearest hundredth of a decimal in JavaScript
FInd out how to round off an floating value i.e a decimal number to the nearest hundredth using Math.round() and toFixed() method in javascript.
Align the elements of <input> tag to center on HTML
Find out how to align the element of the input tag to center on the html page using inline style and css.
JavaScript hasOwnProperty() method of an Object
Tutorial about the Javascript hasOwnProperty() method of an object, its use, advantages and limitations.
How to set a default value to input with a v-model in Vue
Find out the simple way on how to set a default value to input with v-model in vue.
5 ways to convert string to number in JavaScript
Find out how to convert a string to a number in JavaScript using parseInt(), parseFloat(), unary plus and math.round method.
Firebase 9 - How to detect first time login of new user using googleAuth
Find out how to detect first time login of a new user using googleAuth in firebase 9.
How to declare global variable in Vue JS
Find out how to set and declare global variables in vue js 2 and vue 3 to access the variable any where in the project.
How to convert a decimal number to an integer in Vue
Short article on how to convert an decimal number to an integer in Vue using parseInt method.
Fill array with incrementing numbers/ intergers using JavaScript
Find out how to fill an array with incrementing numbers/integers using JavaScript's for loop and Array.from() method with keys().
How to add background image with gradient overlay in CSS
Short tutorial on how to add background image with semi-opaque / semi-transparent gradient over the image using CSS.
How to remove bullets from unordered list using CSS
Find out how to remove bullets from an unordered list using CSS property.
How to disable the resizable property of a textarea
Short article on how to disable the resizable property of a textarea using CSS property resize.
How to add getter to an existing JavaScript Object
Short tutorial on adding a getter to an existing JavaScript object using Object.defineProperty method.
How to Remove Underline from Links in Bootstrap.
Find out how you can remove underline from links in bootstrap using CSS or simple using bootstrap class.
How to redirect to another web page/ website using JavaScript
Find out how to redirect to another web page or website using JavaScript location object
Hide and Show element in Vue js - Toggle visibility
Find out how to hide/show element on vue using inbuilt directives like v-if and v-show and class binding.
How to get value from JSON object in JavaScript
Short article on how to get or fetch a value from a JSON object in JavaScript using JSON.parse() method.
Pretty Print JSON Programmatically using JavaScript
Find out how to beautify or pretty print a JSON string Programmically in JavaScript.
How to add dynamic Key to an object in JavaScript
Short tutorial on how to create and add dynamic key to an object in JavaScript using bracket syntax and ES6 methods.
Check if multiple values exists in an array using JavaScript
Tutorial on How to check if multiple values exist within an JavaScript array using includes(), every() and indexOf() method.
Convert a Unix timestamp to time in JavaScript
Find out how to convert a unix timestamp to time format in JavaScript using toLocaleTimeString() method.
How to remove a property from an object in JavaScript?
This article is about how to remove a property from an object in javascript using delete operator.
Convert array to string with brackets and quotes in JavaScript
Short article on how to convert an array to a string while preserving brackets and quotes.
How to get current route name in VueJs?
Find out how to get the current name of the route and the path in Vue 2 and Vue 3.
Open router link in a new tab in Vue
Learn how to open router-link or external url links in a new tab / window in Vuejs
Change default port number in Vue CLI App
Short article on how to change the default port number i.e 8080 in vue-cli via terminal and package.json file.
How to Check null Values in JavaScript? | isNull() JavaScript
Find out how to check if object values is null in JavaScript using isNull() function.
How to stop and exit a Function In JavaScript?
Find out how to stop or exit a function in javascript using return statement or try catch statement.
Compare Two Strings in JavaScript | String Comparison
Tutorial on how to compare two case insensitive strings in JavaScript. Using localeCompare() to do string comparison with case-sensitive strings.
How to write isNumber() in JavaScript?
Tutorial on how to code a isNumber() function to check if a value is a number or not in JavaScript.
How can I do String interpolation in JavaScript?
Article on different ways we can do string interpolation in JavaScript using template literals or string templates.
How to remove hashbang (#) from URL in Vue ?
Short tutorial on how to remove the hash from the page URL in VueJS with Vue Router 3 and 4
How to update vue-cli to latest version?
Article about how to update vue-cli from version 2 to latest versions like Vue CLI 3 or 4.
JavaScript - How to Remove Character From A String.
Find out how to remove character from a string in JavaScript using replace() and split and join method.
Compare Elements of Two Arrays in JavaScript
Find out how to compare elements of two arrays in JavaScript using JSON.stringify(), toString(), every() or Lodash and uderscorejs.
Get Tomorrow's Date using JavaScript - Quick Way
Tutorial on how to get tomorrow's date using JavaScript and momentjs library
Npm update all dependencies in NodeJS
Article on how to npm update all dependencies to latest version in Nodejs.
Check if String Is a Number or Not in JavaScript
Tutorial on how can I check if a string is a valid number or not in JavaScript.
Include external CSS file in Vue.js component
Tutorial on how to include external or local css in vue globally or only in one component.
Generate Random Number in a specific range in JavaScript
This post is about how to generate random number in a given range in JavaScript.
How to change git username and password on PC
This post is about how to change git username and password locally and globally in your computer.
[Solve] npm WARN package.json: No repository field
This article is about how to solve npm warn package.json: no repository field in our nodejs applications.
Copy text from an HTML element to clipboard-JavaScript
This article is about how to copy text from an html element to clipboard using JavaScript. You can copy from element with input field.
How to Remove Last Character from a string in javascript
This article is about how to remove last character from a string using JavaScript using splice() and substring() method.
Code on how to get Yesterday date in JavaScript
This article is about how to get yesterday's date in JavaScript. We will get current date using new Date() and the substract one day from it.
Remove first and last element from an array in JavaScript
This article is about how to remove first or last element from an array in JavaScript using in-built functions like pop(), shift() and splice().
SyntaxError: Unexpected end of JSON input in JavaScript
This article is about how to fix SyntaxError: unexpected end of JSON input error in Javascript while using JSON.parse() method.
How to fix "npm ERR cb() never called" | Quick Fix
learn how to fix npm ERR cb() never called error in nodejs easily. This methods will solve the error from node and npm easily.
Uninstall/Remove package using Yarn
This article is about what are the best practices that we can follow to yarn remove package and update yarn.lock file properly.
Sort an array of String with non-ASCII characters.
This article is how to sort an array of string with non-ASCII characters. Using localeCompare() we can sort mixed array with non-ascii characters.
How to Remove Trailing Slash from URL in Nuxt + Netlify ?
This article is about how to remove trialing slash from URL in nuxt js hosted in Netlify as server.
How to add external script tag in head in Nuxt
To add external javascript script in nuxt we have to add the script tag with src in the head() method.
How do I wrap text in <code> tag HTML
This article is on how to wrap text in code tag in html. We will use white-pace, word-break and word-wrap CSS property to get our result.
Convert image to webp in nuxtjs | Image Optimization
To optimize an image in nuxt we have to use the @nuxt/image module. It can convert an image to webp format in nuxt application.
Hide Admin Path on Deployment in NetlifyCMS.
This article is about how to hide admin route in Netlify CMS on deployment of the site. It will not allow us to access the admin dashboard of netlify when the site is live.
How to run Netlify CMS admin locally?
This article about how to run the NetlifyCMS admin locally in your PC. We can run netlify cms admin in localhost using netlify-cms-proxy-server.
How to add dynamic HTML attributes in VueJS ?
This article is about how to add dynamic HTML attributes in VueJS . The v-bind helps us to add any attribute to our HTMl while working in vue.
3 Ways to Combine Multiple Strings into a Single String | Concatenate Strings
This tutorial is about how to combine or join multiple strings in to a single string in javascript. we will learn three ways to concatenate add string in javascript.
3 Ways to generate random string/characters in JavaScript
We will learn about three ways on how to generate random strings/characters in javascript. We will use Math.random() method, shortid npm module and inbuilt method toString() method in javascript.
How to create Multiline string in JavaScript?
This article is about how to create multiline string or comment in javascript. To create multil-ine string we will be using template literals in javascript.
Default value for prop function in VueJS
The article is about how to set default value for function prop in vuejs. For props like Function and O
How to set default value of props in VueJS ?
This article is on how to set default values in props in VueJS. Default values are used when the props are not passed from parent component to its child component.
How to add custom static 404 error page in Nuxt ?
This article is about how to add a custom static 404 page in our nuxt application. 404 error page willbe the fallback page if a page is not found in the static site.
How to Add Syntax Highlighting PrismJS to Nuxt
This article is about how to add a code syntax highlighter PrismJS to Nuxt and configure PrismJs theme in NuxtJS.
Convert javascript array to object of same keys/values
This article is about how to convert javascript array to object of same keys/values. To convert the array to object of same keys/values pair we will use reduce() method in javascript.
How to convert an array to object in javascript?
Here, we will learn how to convert an array into an object in javascript. we will use Object.assign() method and spread operators to convert it to an object.
How to access LocalHost on your mobile device?
Here, we will learn how to access LocalHost in your mobile browsers and views your website running on LocalHost from your mobile.
Prevent body from scrolling when a modal is opened.
Here, in this article we will learn on how to prevent body from scrolling when a modal is opened using javascript and wheel eventListener. It will disable the scroll when the modal is open.
Disable scrolling Behaviour on a body with element on position fixed in mobile.
In this article we will learn on how to disable the scroll behaviour of a body on a element with position fixed on mobile devices..
How to add Google Analytics 4 in Nuxt Application?
This article is about how to add google analytics 4 in our nuxt application. we will see about adding Google Analytics 4 in this article too along with the Universal Id version.
How to check Nuxt Version Easy and Quick
In this tutotrial, we will see how we can check the nuxt version quickly using the terminal or from the package.json file.
How to redirect to external url in vue
Here we will learn how to redirect to an external url or link in vuejs. We will be using window inbuilt property, window.location.href to redirect to an external URL.
How to call a function in VUE template?
Here we will define and call a function in vue template. We need to define a function in methods and use a click event to call the function from the template.
How to add common header and footer in vuejs.
In this article we will learn how to import a common header and footer component in our vuejs application. We can do it by global reference and local reference.
Convert date to long date format using Javascript
Learn how to convert a date to a long date format using Javascript. To convert it to a long format we will be using a toLocaleDateString() method in javascript.
Get the 10 characters from a string using Javascript.
How to get the first 10 character from a string using Javascript. Here we will extract the first 10 character from a string using the substring() method in javascript.
How To Add Defer And Preload in script and link tags in Nuxtjs Application
This post is about how we can add defer and preload in script and link tags in our nuxtjs application to improve the performance of the pages.
[FIX] Your Git Gateway backend is not returning valid settings. Please make sure it is enabled.
how to fix the error Your Git Gateway backend is not returning valid settings. Please make sure it is enabled in netlify cms
How to generate sitemap for dynamic routes in nuxtjs application
Here we will create sitemap in nuxtjs application. Learn to generate sitemap for dynamic routes in your nuxt project.
How to make list of objects in Netlify CMS using list and object Widget
In this tutorial we will learn how to make list of objects for netlify cms using list widget and object widget
How To Add Google Font in Nuxt Application
Here in this article we will see how to add google font in nuxtjs application
How To Add Font Locally In Nuxt App
Add font locally in nuxtjs project, put the font file in assests folder and use @font-face css property to use it in the project.
How To Add Robots.txt in your Nuxtjs Application
Here in this article we will see how to add robots.txt file in nuxtjs application while building or generating the website.